Erlang Mailing Lists

Author Message

<  RabbitMQ mailing list  ~  rabbitmq clustering

Guest
Posted: Thu Oct 01, 2009 8:50 pm Reply with quote
Guest
One that was unclear to me in the clustering documentation is how you setup consumers to work with clusters or if there even is any setup?

Does the consumer need to be aware of all the nodes in a cluster?
If not does the consumer just need to be hooked up to the node that the other nodes are clustered around and things are automatically load balanced?


My consumers are connected to a single node right now, so is my producer. If add nodes and cluster them around this node will rabbitmq handle all the load balancing?


This seems a bit to magical to me and seems like both producers and consumers would need to be aware of the nodes.


I am using the AMQP python lib


Suhail

Post received from mailinglist
Guest
Posted: Wed Oct 07, 2009 10:59 am Reply with quote
Guest
Suhail

Have you been able to resolve this?

alexis


On Thu, Oct 1, 2009 at 9:49 PM, Suhail Doshi <suhail@mixpanel.com> wrote:
> One that was unclear to me in the clustering documentation is how you setup
> consumers to work with clusters or if there even is any setup?
> Does the consumer need to be aware of all the nodes in a cluster?
> If not does the consumer just need to be hooked up to the node that the
> other nodes are clustered around and things are automatically load balanced?
> My consumers are connected to a single node right now, so is my producer. If
> add nodes and cluster them around this node will rabbitmq handle all the
> load balancing?
> This seems a bit to magical to me and seems like both producers and
> consumers would need to be aware of the nodes.
> I am using the AMQP python lib
> Suhail
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss@lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist
Guest
Posted: Wed Oct 07, 2009 7:01 pm Reply with quote
Guest
No, I am still unsure how clustering actually works.

Suhail

On Wed, Oct 7, 2009 at 3:59 AM, Alexis Richardson <alexis.richardson@gmail.com (alexis.richardson@gmail.com)> wrote:
Quote:
Suhail

Have you been able to resolve this?

alexis



On Thu, Oct 1, 2009 at 9:49 PM, Suhail Doshi <suhail@mixpanel.com (suhail@mixpanel.com)> wrote:
> One that was unclear to me in the clustering documentation is how you setup
> consumers to work with clusters or if there even is any setup?
> Does the consumer need to be aware of all the nodes in a cluster?
> If not does the consumer just need to be hooked up to the node that the
> other nodes are clustered around and things are automatically load balanced?
> My consumers are connected to a single node right now, so is my producer. If
> add nodes and cluster them around this node will rabbitmq handle all the
> load balancing?
> This seems a bit to magical to me and seems like both producers and
> consumers would need to be aware of the nodes.
> I am using the AMQP python lib
> Suhail


> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss@lists.rabbitmq.com (rabbitmq-discuss@lists.rabbitmq.com)
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>



--
http://mixpanel.com
Blog: http://blog.mixpanel.com


Post received from mailinglist
Guest
Posted: Mon Oct 19, 2009 12:10 pm Reply with quote
Guest
Suhail,

Suhail Doshi wrote:
> One that was unclear to me in the clustering documentation is how you
> setup consumers to work with clusters or if there even is any setup?
>
> Does the consumer need to be aware of all the nodes in a cluster?

Logically/functionally, clients just need to be aware of *one* cluster
node. But if you want to balance load then you either need to stick a
load balancer in front of rabbitmq or make the clients aware of all nodes.

> If not does the consumer just need to be hooked up to the node that
> the other nodes are clustered around and things are automatically
> load balanced?

As noted above, there is no automatic load balancing.

Well, actually there is some very crude load balancing going on atm,
with the server redirecting clients to the least loaded node, but a) I
don't whether the AMQP python lib supports that, and b) that
functionality will disappear when we move to AMQP 0-9-1.


Regards,

Matthias.

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum