[rabbitmq-discuss] Doubt regarding rabbit servers in clustered environment
stephanion2002 at gmail.com
Fri Nov 19 16:46:57 GMT 2010
Thanks for the reply Mark,
In our case, we
1. Create two exchanges A and B
2. Create 8 queues a,b,c,d,e,f,g,h
3. Bind A,B to these queues.
4. Consumer is listening to a,b,c,d,e,f,g,h ......
5. For the above operations, we are using two Rabbit MQ nodes in clustered
Please let us know the behaviour of clustered RabbitMQs ....
Also, I could not understand the statement *"all the traffic to a queue gets
forwarded to one particular node."* (we send the messages to an exchange
and not a queue, isn't it ?)
On Fri, Nov 19, 2010 at 1:42 PM, Marek Majkowski <majek04 at gmail.com> wrote:
> On Fri, Nov 19, 2010 at 06:19, Kshitiz Garg <stephanion2002 at gmail.com>
> > We are getting into rabbit cluster configuration with Load balancer in
> > front. I had this doubt that if we get to connect to rab1 at the time of
> > creation of exchanges and queues and rab2 at the time of using these
> > exchanges and queues, how will the system behave? Basically we want to
> > that do we have to create similar exchanges and queues on both RabbitMQs
> > is there any automatic provision?
> RabbitMQ clustering is a complex beast.
> Most of the resources are automatically shared in the cluster. So if you
> create an exchange on one server, it will automatically appear in the
> other one. Under the hood we're just using a replicated Erlang
> database (mnesia).
> On the other hand that is not true for queue data (messages). Queue
> gets assigned
> to a particular node in cluster, and all the traffic to a queue gets
> to one particular node.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss