[rabbitmq-discuss] Distribution model advice sought

Matthias Radestock matthias at rabbitmq.com
Thu Mar 3 14:32:29 GMT 2011


On 03/03/11 14:29, Mark J. Reed wrote:
> On Thu, Mar 3, 2011 at 2:24 AM, Matthias Radestock
>> How do you avoid the producer having to publish the message N times in this
>> setting?
> Fanout exchange.

Ah, I didn't realise that each message goes to the same set of "topics". 
Yes, fanout is fine for that.

> The problem I'm seeing is that the surviving nodes seem to remember that
> the queue was declared on the dead node and fail when attempting to
> declare it again.

That should only happen when the queue is durable. Given that losing the 
odd message isn't a concern for you, it would make sense to declare the 
queues as non-durable.


More information about the rabbitmq-discuss mailing list