[rabbitmq-discuss] Durable Queue
matthew at rabbitmq.com
Sun Oct 16 18:08:50 BST 2011
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.
More information about the rabbitmq-discuss