[rabbitmq-discuss] Optimizing Tips for beginner rabbitMQ user

Gary Russell grussell at vmware.com
Tue Mar 26 01:17:58 GMT 2013

Please move this discussion to the Spring-AMQP forum 


You only show your connection factory configuration, you need to provide your consumer config as well. 

If you are using a listener container, there are a number of optimizations, including increasing the concurrency but, as I said, we need to see that configuration too before we can make suggestions. 

Please re-post your question over there, with more information. 

----- Original Message -----

From: "extofer" <extofer at gmail.com> 
To: rabbitmq-discuss at lists.rabbitmq.com 
Sent: Monday, March 25, 2013 7:47:31 PM 
Subject: [rabbitmq-discuss] Optimizing Tips for beginner rabbitMQ user 

Here is my setup: I've implemented rabbitMQ on a centOS environment I have one tomcat application publishing messages at an average of 30 msg/s. The consumer apps are in 3 different servers running the same process, each consuming at an average of 2~3 msg/s. I've tried optimizing our process on the consumer applications as much as possible, now I want to look at the queue and try to get more than 2~3 msg/s. 

Here are some questions, and perhaps someone can assist me with suggestions: 

I use the same user authentications on all 3 consumers.... will having different users help bump the message rate? 

I've tried using more channels, but all in all, it doesn't change a thing, it still gets 1 or 25 messages depending on channels, but the message rate is the same. 

What are some common optimization tips for faster performance? 

The consumer application is a Tomcat application and I'm using rabbit-amqp configured below. 
<bean id="rabbitConnectionFactory" 
p:username="USER" p:password="PSWD!" p:virtualHost="VHNAME" 
<constructor-arg value="DOMAIN" /> 
<property name="channelCacheSize" value="1" /> 

Gabriel Villa 

rabbitmq-discuss mailing list 
rabbitmq-discuss at lists.rabbitmq.com 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130325/150823b9/attachment.htm>

More information about the rabbitmq-discuss mailing list