<div dir="ltr"><div><div>Hello,<br><br></div>Thanks for the prompt reply !<br><br></div>For point 2, I understand your answer. My phrasing of the question was incorrect. I suppose my question is more about the messages that are routed to the queue. Would other nodes in a cluster hold a copy of the message ?<br>
<br>Thank you for the reply,<br><br>Devangana<br><div><div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 19, 2014 at 10:18 AM, Simon MacMullen <span dir="ltr"><<a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 19/05/2014 15:43, Devangana Tarafdar wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am trying to understand how clusters with mirrored queues operate on<br>
data (messages as well as data about queues). From the doc at<br>
<a href="https://www.rabbitmq.com/ha.html" target="_blank">https://www.rabbitmq.com/ha.<u></u>html</a><br>
<br>
"All actions other than publishes go only to the master, and the master<br>
then broadcasts the effect of the actions to the slaves. Thus clients<br>
consuming from a mirrored queue are in fact consuming from the master."<br>
So I understand that;<br>
<br>
1. There is only one node that has the queue process running. Other<br>
nodes have enough information to start up a queue process should the<br>
master go down.<br>
</blockquote>
<br>
Other nodes have a slave process that is quite a lot of the way towards being a queue, it maintains (almost) all the same data structures, it just never talks to clients.<br>
<br>
So it depends how you look at it.<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2. Queue data for persistent queues is stored on disk on all nodes of<br>
cluster. So persistent data is replicated.<br>
3. Queue data that is not persistent is stored on ram on all nodes of<br>
the cluster. So ram data is replicated.<br>
</blockquote>
<br>
Replication is orthogonal to persistence really. And it doesn't really make sense to think of queues as "persistent" or not since durable queues can contain transient messages, and transient queues can page to disk under memory pressure...<br>
<br>
Cheers, Simon<br>
</blockquote></div><br></div></div></div></div></div></div>