You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rodrigo K. Ferreira" <rk...@gmail.com> on 2009/11/05 13:08:24 UTC

How balance connections between two brokers

---------- Forwarded message ----------
From: Rodrigo K. Ferreira <rk...@gmail.com>
Date: Thu, Nov 5, 2009 at 9:15 AM
Subject: Re: How balance connections between two brokers
To: users@qpid.apache.org


Hi, in this page: http://qpid.apache.org/clusteringha.html   the "load
balancing" is mentioned, but I dont found how its possible to make that.
At first look, I understand that "scalabilty/throughput/load balancing" are
made with federation (repassing queues, etc) , its correct ? There is other
way to do LB ?

Thanks,





On Wed, Nov 4, 2009 at 4:31 PM, Rodrigo K. Ferreira <rk...@gmail.com>wrote:

> Hi,
>
> I'm planning to use Qpid for one solution, and now, I'm thinking about how
> does the clients balance connections between more than one broker. Anyone
> know that's possible ?
> Any qpid/amq libs implement randon connects ? And any type of detection
> when one broker server is down and begins to fail ?
>
>
> My scenario is like that:
>
> ---------------------------------
> ------------------------------------------------------
> | Pool of APP Servers |        ---->   | Pool of Qpid Brokers & Consumers
> |
> ---------------------------------
> ------------------------------------------------------
>
> My point is, I dont want use active/passive clusters. I read that
> http://qpid.apache.org/starting-a-cluster.html , and that behavior is like
> that.
> My idea is to use all active brokers for receive messages that are produced
> for my app pool.
>
>
> Thanks,
>
> Rodrigo
>

Re: How balance connections between two brokers

Posted by "Rodrigo K. Ferreira" <rk...@gmail.com>.
Thanks Alan.

On Thu, Nov 5, 2009 at 11:53 AM, Alan Conway <ac...@redhat.com> wrote:

> On 11/05/2009 07:08 AM, Rodrigo K. Ferreira wrote:
>
>> ---------- Forwarded message ----------
>> From: Rodrigo K. Ferreira<rk...@gmail.com>
>> Date: Thu, Nov 5, 2009 at 9:15 AM
>> Subject: Re: How balance connections between two brokers
>> To: users@qpid.apache.org
>>
>>
>> Hi, in this page: http://qpid.apache.org/clusteringha.html   the "load
>> balancing" is mentioned, but I dont found how its possible to make that.
>> At first look, I understand that "scalabilty/throughput/load balancing"
>> are
>> made with federation (repassing queues, etc) , its correct ? There is
>> other
>> way to do LB ?
>>
>
> Federation is one way to balance load. The other is to partition the
> application and use multiple brokers, each serving a different slice of the
> application load. If you need reliability and scalability then you can
> replace brokers with reliable clusters in a federated or partitioned
> application.
>
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:dev-subscribe@qpid.apache.org
>
>

Re: How balance connections between two brokers

Posted by Alan Conway <ac...@redhat.com>.
On 11/05/2009 07:08 AM, Rodrigo K. Ferreira wrote:
> ---------- Forwarded message ----------
> From: Rodrigo K. Ferreira<rk...@gmail.com>
> Date: Thu, Nov 5, 2009 at 9:15 AM
> Subject: Re: How balance connections between two brokers
> To: users@qpid.apache.org
>
>
> Hi, in this page: http://qpid.apache.org/clusteringha.html   the "load
> balancing" is mentioned, but I dont found how its possible to make that.
> At first look, I understand that "scalabilty/throughput/load balancing" are
> made with federation (repassing queues, etc) , its correct ? There is other
> way to do LB ?

Federation is one way to balance load. The other is to partition the application 
and use multiple brokers, each serving a different slice of the application 
load. If you need reliability and scalability then you can replace brokers with 
reliable clusters in a federated or partitioned application.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org