[rabbitmq-discuss] Persister crashes Rabbit

Ben Hood 0x6e6562 at gmail.com
Sat Nov 15 20:22:52 GMT 2008


Ilya,

On Sat, Nov 15, 2008 at 7:49 PM, Ilya Grigorik <ilya at aiderss.com> wrote:
> Ah, I see. So if the queue (let's call it 'Q') is created on node A, and the
> client connects to node B, and subscribes to Q, the messages will be proxied
> from A to B and then to the client?

Yep.

> Another question: if multiple durable queues are attached to a fanout and
> the messages are flagged as persistent, will there only be one copy of each
> message in memory? It look like the persister only stores one copy on disc,
> plus a map of which queues each message belongs to. Is this how it's handled
> in memory as well?

Functionally no, but effectively yes, because Erlang will reference
count binaries larger than 64 bytes rather than duplicating memory.

HTH,

Ben




More information about the rabbitmq-discuss mailing list