[rabbitmq-discuss] Round-robin queue failover
Matthias Radestock
matthias at lshift.net
Tue Oct 20 06:53:17 BST 2009
Sebastian,
Sebastian wrote:
> Now I have come across this [1] blog-post by Ilya Grigorik which
> says: "Assign two identically named queues to an exchange and the
> broker will automatically round-robin the messages". So my
> understanding is that I could just create identical queues on every
> node, and the broker will take care of the rest: if one node goes
> down, messages will just be spread over the other queues/nodes.
> Is this supported by rabbitmq? I've looked around in the amqp specs
> and documentation, but couldn't find anything related.
>
> [1] http://www.igvita.com/2009/10/08/advanced-messaging-routing-with-amqp/
That part of the article is wrong. Exchanges route messages to all the
queues bound with a binding that matches the message. There is no
round-robining going on; that only happens for delivering messages to
multiple consumers of the same queue.
Regards,
Matthias.
More information about the rabbitmq-discuss
mailing list