[rabbitmq-discuss] about durable queues in a cluster
Tim Watson
watson.timothy at gmail.com
Wed Feb 27 09:21:01 GMT 2013
Hi,
The disk/ram node distinction refers to where definitions (queue, exchange, etc) are stored. Messages are handled separately and are always stored on disk if they're marked persistent (and sometimes even if they're not, e.g., if memory is running out). You should note however, that just because you have a cluster doesn't mean that messages will be present on all nodes! If the nodes are clustered then the definition will exist on all nodes but the messages will only end up on the node where the queue was declared and is running. If you want messages to be mirrored across nodes then you'll need to make it a mirrored queue by setting the ha policy to ensure messages are replicated across nodes in the cluster. HTH.
Cheers
Tim
On 27 Feb 2013, at 08:02, Steve <steve at dnsbed.com> wrote:
> Hello,
>
> In a cluster, say there are one disk node and two memory nodes.
> When createing a queue we mark the queue as durable, and deliver messages to the queue with persistent mode. Since there is only one disk node in the cluster, does it mean all messages are written to this disk node only?
>
> Thanks.
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
More information about the rabbitmq-discuss
mailing list