[rabbitmq-discuss] How to use HAProxy as a load balancer in RabbitMQ cluster?
sekhar434145 at gmail.com
Wed Nov 6 05:23:44 GMT 2013
Thanks for the response. We are new to using HAProxy and done the HAProxy
setup as per the Rabbit_In_Action.pdf documentation. Here, HAProxy is
installed in Linux and two RabbitMQ nodes are running in two different
windows machines in cluster.
If we are not making any changes related to HAProxy in producer and
consumer code, how does load balancing will work. could you please tell me?
On Tue, Nov 5, 2013 at 6:44 PM, Michael Klishin <mklishin at gopivotal.com>wrote:
> On 5 Nov 2013, at 17:10, Rajasekhar P <sekhar434145 at gmail.com> wrote:
> > We are using HAProxy as a load balancer in RabbitMQ cluster and we have
> done the configuration and able to see the stats, where it will display
> list of running nodes.
> > But, we want to know how to configure for connecting producer and
> consumers and we working on Java client. Could anyone please share the
> sample producer and consumer code which we can test via HAProxy load
> The whole point of having a proxy is that clients don’t need to be aware
> of the cluster topology.
> Your clients should connect to HAproxy. There is no difference to
> connecting to a Rabbit node directly.
> Software Engineer, Pivotal/RabbitMQ
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss