[rabbitmq-discuss] Why Clustering ? Load Balancing

Chris stuff at moesel.net
Mon Apr 29 16:31:32 BST 2013

Hi T.luck,

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:
http://www.rabbitmq.com/tutorials/tutorial-two-java.html.  If you're not
setting it to 1, you might want to give that a try and see how the behavior


On Mon, Apr 29, 2013 at 11:12 AM, tluck <tilak.chauhan at ymail.com> wrote:

> I've setup multiple consumers on different servers and port 5672 is open on
> all servers. They all can read multiple queues at a time (parallel). I've
> not enabled clustering on them, but, they still can communicate with the
> producer server (I've one producer and multiple consumers). Each consumer
> is
> supposed to read 1 message from one queue at a time. This means, If I've 5
> queues then consumer-server-1  will be reading total 5 messages at a time,
> and same goes to consumer server-2 and so on...
> So far, everything works perfect....But, one thing I've noticed is that
> balance is not being loaded properly among all the consumers. When I go to
> check the number of unacknowledged (in progress) messages on RMQ management
> plugin, then I always see less number of unacknowledged messages than what
> I
> supposed to see. For example --- if there are 3 consumers and 5 queues
> running all the time then I'm supposed to see aprx 15 unacknowledged
> messages, But, I always see 5 to 8 messes at a time. What could be be the
> possible issue ? Do I need to go for clustering ? Will that help me ?
> Thanks in advance.
> T.luck..
> --
> View this message in context:
> http://rabbitmq.1065348.n5.nabble.com/Why-Clustering-Load-Balancing-tp26284.html
> Sent from the RabbitMQ mailing list archive at Nabble.com.
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130429/cf5d73b8/attachment.htm>

More information about the rabbitmq-discuss mailing list