You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Tim Chen <ti...@evri.com> on 2010/09/14 03:20:00 UTC

Qpid C++ broker cluster failover

Hi all,

I'm reading the documentation on qpid clustering, and a bit confused on the replication piece.

In the docs, it only mentions that state is replicated to all brokers in the same cluster, but doesn't mention what state will be replicated.

I don't care if messages are lost, and care more about throughput.

Will messages in queues be async replicated as well?

Is it possible to setup a active-passive failover where there is only one active broker recaeiving and sending messages in the cluster, and the others remain passive (or no messages replicated) until failover happens?

Thanks,

Tim




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


Re: Qpid C++ broker cluster failover

Posted by Gordon Sim <gs...@redhat.com>.
On 09/14/2010 02:20 AM, Tim Chen wrote:
> Hi all,
>
> I'm reading the documentation on qpid clustering, and a bit confused on the replication piece.
>
> In the docs, it only mentions that state is replicated to all brokers in the same cluster, but doesn't mention what state will be replicated.

At present, pretty much all broker side state. (We hope to relax this in 
future enhancements).

> I don't care if messages are lost, and care more about throughput.
 >
> Will messages in queues be async replicated as well?

Yes.

> Is it possible to setup a active-passive failover where there is only one active broker recaeiving and sending messages in the cluster, and the others remain passive (or no messages replicated) until failover happens?

There is no built in support for that configuration at present.

You could use unclustered brokers, but would then need to have some 
external mechanism for enforcing consistency w.r.t which one is primary. 
You would also need to manually create the relevant queues/exchanges on 
all nodes.

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