[rabbitmq-discuss] Network Partion

Simon MacMullen simon at rabbitmq.com
Tue Feb 4 17:18:08 GMT 2014

On 04/02/2014 12:51PM, Jeffery, Mark wrote:
> We are using a RabbitMQ cluster across a WAN.
> I know this is not recommended and I want to fix this because we
> occasionally get a network partition when the core switches are upgraded.
> The dip is for a very very small time.

Still, if it is enough for the TCP connections between nodes to be 
disrupted that will cause a partition.

> Is the solution to use the shovel plugin ?

Or Federation, both are WAN safe.

> Would the “Self Healing” functionality in later versions be the solution ?

autoheal does not let you ignore the possibility of network partitions 
and thus beat the CAP theorem. It's something that will automatically 
bash your cluster back into shape, but it is possible to lose data in 
the process. As http://www.rabbitmq.com/partitions.html says:

> Network partitions will always cause problems for RabbitMQ clusters;
> you just get some degree of choice over what kind of problems you
> get.

On 04/02/2014 12:51PM, Jeffery, Mark wrote:
> We are highly reliant on mirrored queues.

So you probably want clusters in each location, so you can use 
mirroring, but connected together with federation / shovel.

Cheers, Simon

Simon MacMullen
RabbitMQ, Pivotal

More information about the rabbitmq-discuss mailing list