[rabbitmq-discuss] Clustering Question

Hugh Watkins hwwatkins at gmail.com
Fri Jun 5 15:07:57 BST 2009

I was trying to understand how the clustering support works in RabbitMQ

1) From the documentation the message queue data is not clustered, so if you
have queue created on one machine and the queue is not persisted then that
box going down will cause the queued messages to be destroyed. Is this a
correct interpretation?

I have a system that is creating perishable queue messages, i.e. they need
to be acted on in 100-200 ms or it's to late a timeout will occur further up
the chain.  I would like to setup a cluster an protect as many messages as
possible.  It would not be worth creating a persistent queue  because it
would slow down the processing and as I mentioned these are perishable

It seems like I should create different queues on each machine in the
cluster and try to load balance across those queues, either by having the
producers write too the local queue, round robin or some other mechanism.
 The workers in turn would listen on all queues.  Does this sound
reasonable?  It requires more configuration than I was hoping for because at
least the workers have to be aware on another queue being created if another
node is added.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090605/aa8d1698/attachment.htm 

More information about the rabbitmq-discuss mailing list