You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by nefilim <th...@yahoo.com> on 2007/10/12 22:46:06 UTC

Low performance using Lingo

Apologies if slightly OT. I'm using Lingo 1.3 with an embedded Activemq 4.1.1
(using the intra vm transport) one the server and a client on a separate
physical machine. 

I have these options set on the connection factory:

	<bean id="jmsFactory" class="org.apache.activemq.ActiveMQConnectionFactory"
> 
		<property name="brokerURL"
value="vm:(broker:(${callback.jms.brokerUrl})?persistent=false&amp;brokerName=callbackBroker&amp;useJmx=true)?marshal=false"/>
		<property name="useAsyncSend" value="true"/>
		<property name="useSyncSend" value="false"/>
		<property name="alwaysSessionAsync" value="true"/>
		<property name="objectMessageSerializationDefered" value="true"/>
		<property name="optimizeAcknowledge" value="true"/>
		<property name="optimizedMessageDispatch" value="true"/> 

Messages (non persistent) gets sent intra VM to temp queue A, which the
remote client then consumes. A message (persistent) also gets sent from temp
queue B back to temp queue A (not entirely sure on why this happens, this is
what I see using the JMX console - this is supposed to one way async remote
invocation).  

The problem appears to be related to getting messages into queue A, I can
see the queue enqueue count lagging the the amount of messages being sent. I
have a queue in Java in front of it and I can see a backlog starting to
build. This threshold appears to be around 100 messages / sec, it cannot
submit  messages any quicker than that. 

The problem might be internal to lingo, that would be strange since the VM
doesn't appear to be CPU bound. Are there any configuration options I can
take a look at? Does anybody have any similar experience with Lingo &
ActiveMQ?

Thanks
Peter

-- 
View this message in context: http://www.nabble.com/Low-performance-using-Lingo-tf4615216s2354.html#a13180455
Sent from the ActiveMQ - User mailing list archive at Nabble.com.