[rabbitmq-discuss] RabbitMQ - can we make use policies as load balancing in cluster?
Rajasekhar P
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>
> wrote:
>
> > 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
> hashing
> exchange [1] and techniques such as [2].
>
> 1. https://github.com/rabbitmq/rabbitmq-consistent-hash-exchange
> 2.
> http://about.travis-ci.org/blog/2013-08-08-solving-the-puzzle-of-scalable-log-processing/
>
> MK
>
>
>
>
> _______________________________________________
> 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/20131018/75c14254/attachment.htm>
More information about the rabbitmq-discuss
mailing list