[rabbitmq-discuss] Durable Queue
gil.strauss at gmail.com
Mon Oct 17 20:57:49 BST 2011
Thank you for the reply.
If I configure durable mirror queue, does any incoming message is
being written on the master and mirror disks?
Another question - is it possible that a subscriber that configured to
send an acknowledgement will receive the same message twice?
On Oct 16, 7:08 pm, Matthew Sackman <matt... at rabbitmq.com> wrote:
> On Sun, Oct 16, 2011 at 09:25:52AM -0700, Gil Strauss wrote:
> > If the queue is configured to be durable - is it being written to disk
> > every single enqueue/dequeue operation or a snapshot is taken every
> > configurable period of time?
> Persistent msgs sent to durable queues may be written to disk. In
> practise, unless the queue is empty and has non-blocked consumers who
> are consuming with noAck=true, they'll probably be written to disk quite
> promptly. If you use transactions or publisher confirms then you'll
> actually get an indication back to the publisher when they have fully
> been written to disk.
> It's more on a batched-per-msg thing, rather than a snapshot thing.
> rabbitmq-discuss mailing list
> rabbitmq-disc... at lists.rabbitmq.comhttps://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
More information about the rabbitmq-discuss