<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span><font size="3">Thanks Matt. It would be nice if the HA documentation is revisited again and&nbsp;</font>explain the basic steps well, it's of great help to the community.</span></div><div><span><font size="3"><br></font></span></div><div><span><font size="3">Best,</font></span></div><div><span><font size="3">Uday.&nbsp;</font></span></div><div><span><font size="3">&nbsp;</font></span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div>  <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Matthew Sackman
 &lt;matthew@rabbitmq.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> rabbitmq-discuss@lists.rabbitmq.com <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, February 16, 2012 3:14 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [rabbitmq-discuss] HA Documentation Error?<br> </font> </div> <br>
On Mon, Feb 13, 2012 at 10:15:16AM +0000, Emile Joubert wrote:<br>&gt; On 10/02/12 19:50, Uday Subbarayan wrote:<br>&gt; &gt; Note: There is a risk in the above strategy if the master node goes<br>&gt; &gt; down. If you want to avoid, then publish to all slaves? Here on wards, i<br>&gt; <br>&gt; If the master becomes unavailable then a slave is promoted to take its<br>&gt; place. Message replication between slaves and the master happens<br>&gt; internally and automatically. As long as the queue is declared as<br>&gt; mirrored, the publisher is not required to take any action to republish<br>&gt; messages to slaves.<br><br>Well, that's not necessarily true. If the node that failed was also the<br>node to which the client was connected, then the client needs to detect<br>the death of the connection, establish a new connection to a surviving<br>node and then republish all messages that it never got<br>publisher-confirms back for - assuming the client even
 turned<br>publisher-confirms on. That would be the only way to ensure<br>at-least-once delivery.<br><br>&gt; Active-active mirrored queues are recommended instead of the<br>&gt; active-passive approach, because it does not require additional software<br>&gt; and the failover process is quicker.<br><br>However, throughput is lower, and it does not have any chance of<br>integration with other clustering/HA software elsewhere in the stack.<br><br>Matthew<br>_______________________________________________<br>rabbitmq-discuss mailing list<br><a ymailto="mailto:rabbitmq-discuss@lists.rabbitmq.com" href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br><a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br><br><br> </div> </div>  </div></body></html>