[rabbitmq-discuss] RabbitMQ Cluster On AWS VPC

Simon MacMullen simon at rabbitmq.com
Thu Dec 13 10:48:54 GMT 2012


On 13/12/12 10:44, 王俊波 wrote:
> We are going to build RabbitMQ cluster with HA on AWS VPC. Suppose there
> are two subnets in the VPC, and they are in different available zones(
> for more info about AWS available zone, please visit:
> http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html).
>   Then I launch instances in both subnets:
> instance X in subnet1(in AWS zone us-east-1a)
> instance Y in subnet2(in AWS zone us-east-1b)
>
> So can I create a RabbitMQ cluster with HA consisting of both X and Y?

This is a bad idea - RabbitMQ clusters do not tolerate network 
partitions well. Read http://www.rabbitmq.com/partitions.html for more 
information.

> Another question is about federation plugin. If I build federation links
> for X and Y symmetrically with max-hop=1, is there any way that whenever
> a message is consumed from node X then the corresponding one in node Y
> is dequeued automatically with no client actually consuming it?

No, I'm afraid not.

Cheers, Simon

-- 
Simon MacMullen
RabbitMQ, VMware


More information about the rabbitmq-discuss mailing list