<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Please move this discussion to the Spring-AMQP forum<br></div><div><br></div><div><a href="http://forum.springsource.org/forumdisplay.php?74-AMQP" data-mce-href="http://forum.springsource.org/forumdisplay.php?74-AMQP">http://forum.springsource.org/forumdisplay.php?74-AMQP</a></div><div><br></div><div>You only show your connection factory configuration, you need to provide your consumer config as well.</div><div><br></div><div>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.</div><div><br></div><div>Please re-post your question over there, with more information.</div><div><br></div><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"extofer" <extofer@gmail.com><br><b>To: </b>rabbitmq-discuss@lists.rabbitmq.com<br><b>Sent: </b>Monday, March 25, 2013 7:47:31 PM<br><b>Subject: </b>[rabbitmq-discuss] Optimizing Tips for beginner rabbitMQ user<br><div><br></div><div><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Here is my setup: I've implemented </span><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;background-color:rgb(255,255,255)">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. </span><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Here are some questions, and perhaps someone can assist me with suggestions:</div>
<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
I use the same user authentications on all 3 consumers.... will having different users help bump the message rate?</div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;background-color:rgb(255,255,255)">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. </div>
<div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
What are some common optimization tips for faster performance?</div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Thanks</div></div><div style="margin:0px;padding:0px;border:0px;vertical-align:baseline;color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
The consumer application is a Tomcat application and I'm using rabbit-amqp configured below.</div><div><span class="Apple-tab-span" style="white-space:pre">        </span></div><div><bean id="rabbitConnectionFactory"</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>class="org.springframework.amqp.rabbit.connection.CachingConnectionFactory"</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>p:username="USER" p:password="PSWD!" p:virtualHost="VHNAME"</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>p:port="5672"></div><div><span class="Apple-tab-span" style="white-space:pre">                </span><constructor-arg value="DOMAIN" /></div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span><property name="channelCacheSize" value="1" /></div><div><span class="Apple-tab-span" style="white-space:pre">        </span></bean></div>
<div><br></div>-- <br><span style="font-family:verdana"><div style="color:rgb(51,51,51);line-height:21px;font-size:14px">Thanks,</div><div style="color:rgb(51,51,51);line-height:21px;font-size:14px">Gabriel Villa</div></span>
<br>_______________________________________________<br>rabbitmq-discuss mailing list<br>rabbitmq-discuss@lists.rabbitmq.com<br>https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss<br></div><div><br></div></div></body></html>