[rabbitmq-discuss] RabbitMQ - can we make use policies as load balancing in cluster?
sekhar434145 at gmail.com
Fri Oct 18 08:13:11 BST 2013
Thanks for the reply MK, we are using mirrored queues. With this we cannot
achieve load balancing rt?
On Fri, Oct 18, 2013 at 12:27 PM, Michael Klishin <mklishin at gopivotal.com>wrote:
> On oct 18, 2013, at 9:09 a.m., Rajasekhar P <sekhar434145 at gmail.com>
> > What we are trying to achieve to distribute specific queues/message to
> particular node, like -
> > queue1, messages 1-100 goes to node1,
> > queue1, messages 101-200 goes to node2,
> > queue2, messages 201-300 goes to node3,
> > queue2, messages 301-400 goes to node4, etc.
> > Is this can be achieved using policies?
> You're still not specifying if you are using federation or mirrored queues.
> Mirrored queues cannot do that. Mirroring is about copying
> messages to 2+ nodes.
> Sharded queues is a feature that's being discussed, in the meantime,
> federated queues in 3.2 is the closest to load balancing a single queue
> you can get.
> Also, you can partition a message stream between queues using consistent
> exchange  and techniques such as .
> 1. https://github.com/rabbitmq/rabbitmq-consistent-hash-exchange
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss