[rabbitmq-discuss] Q replication anxiety
alexis.richardson at cohesiveft.com
Tue Feb 10 07:56:56 GMT 2009
On Thu, Feb 5, 2009 at 11:18 PM, Ben Hood <0x6e6562 at gmail.com> wrote:
>> My setup is on ec2. My testing randomly kill's machines; in service
>> of assuring the system can self heal. Obviously I'm going to be
>> miserable if I kill the machines with Q's on them? I guess i need to
>> be sure the disks the Q's fall onto aren't wiped (which they are today).
> You'll have to wait for the cloud guys to respond to this. I know that
> that EC2 brought out EBS a while back, however, I don't know what
> implications this has for Rabbit.
As you spotted, RabbitMQ does not yet create multiple copies of queues
for HA. But it can persist queues to disk. As you concluded, this
means that if you want messages to be available after a failure, the
disk / store is not wiped. For example to achieve this you can back
up the data from EC2 to S3 or EBS. I recommend EBS which is not too
hard to set up, and will give you more automation (iiuc). Keep asking
if you need more help.
More information about the rabbitmq-discuss