<div dir="ltr">Hi T.luck,<div><br></div><div style>I'm not sure I fully understand the question, but is it possible it's due to a prefetch count > 1? See the "Fair Dispatch" section of this tutorial: <a href="http://www.rabbitmq.com/tutorials/tutorial-two-java.html">http://www.rabbitmq.com/tutorials/tutorial-two-java.html</a>. If you're not setting it to 1, you might want to give that a try and see how the behavior differs.</div>
<div style><br></div><div style>-Chris</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 29, 2013 at 11:12 AM, tluck <span dir="ltr"><<a href="mailto:tilak.chauhan@ymail.com" target="_blank">tilak.chauhan@ymail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I've setup multiple consumers on different servers and port 5672 is open on<br>
all servers. They all can read multiple queues at a time (parallel). I've<br>
not enabled clustering on them, but, they still can communicate with the<br>
producer server (I've one producer and multiple consumers). Each consumer is<br>
supposed to read 1 message from one queue at a time. This means, If I've 5<br>
queues then consumer-server-1 will be reading total 5 messages at a time,<br>
and same goes to consumer server-2 and so on...<br>
<br>
So far, everything works perfect....But, one thing I've noticed is that<br>
balance is not being loaded properly among all the consumers. When I go to<br>
check the number of unacknowledged (in progress) messages on RMQ management<br>
plugin, then I always see less number of unacknowledged messages than what I<br>
supposed to see. For example --- if there are 3 consumers and 5 queues<br>
running all the time then I'm supposed to see aprx 15 unacknowledged<br>
messages, But, I always see 5 to 8 messes at a time. What could be be the<br>
possible issue ? Do I need to go for clustering ? Will that help me ?<br>
<br>
<br>
Thanks in advance.<br>
<br>
T.luck..<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://rabbitmq.1065348.n5.nabble.com/Why-Clustering-Load-Balancing-tp26284.html" target="_blank">http://rabbitmq.1065348.n5.nabble.com/Why-Clustering-Load-Balancing-tp26284.html</a><br>
Sent from the RabbitMQ mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</blockquote></div><br></div>