Hi MK,<div><br></div><div>Thanks for your reply.</div><div><br></div><div>For question 1, </div><div>my test result is the queue was gone after the rabbitmq1 crashed. And the rabbitmq2 did not automatically create the queue &#39;rabbit-test&#39;.</div>
<div>Is it because the producer just send message with exchange &amp; routing key (no queue name)?</div><div><br></div><div>For question 2, </div><div>According the rabbitmq cluster guide, it says there is at least one disc node and ram node is good for performance. I hope my cluster provide good reliability &amp; performance. But from my testing result of question 1, the queue eas gone. </div>
<div><br></div><div>So I draft my cluster as below.</div><div>- disc node 1 with persistence queues &amp;stats</div><div>- disc node 2 mirror with node 1 (replicate the queue?)</div><div>- ram node 3 with node 1</div><div>
- ram node 4 with node 2</div><div><br></div><div><br></div><div>Thanks,</div><div>Kalin<span></span><br><br>Michael Klishin  於 2013年7月29日星期一寫道:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2013/7/28 Kalin Chih <span dir="ltr">&lt;<a href="javascript:_e({}, &#39;cvml&#39;, &#39;kalinchih@gmail.com&#39;);" target="_blank">kalinchih@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>Question 1: Is any possible to automatically re-create the queue &quot;rabbit_test&quot; on the other disc node (rabbit@rabbitmq2) when the rabbit@rabbitmq1 is crash?</div></blockquote><div><br></div><div>Queue metadata (e.g. name, durability, other properties) will be available on other nodes automatically.</div>


<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div><div>Question 2: What is the best practice for cluster  without &quot;Mirrored Queue Behaviour&quot;?</div>


</blockquote></div><br>It depends on what your goals and needs are. What problem are you trying to solve with clustering?</div><div class="gmail_extra">Why mirroring queue contents is not a good idea in your case?<br>-- <br>


MK<br><br><a href="http://github.com/michaelklishin" target="_blank">http://github.com/michaelklishin</a><br><a href="http://twitter.com/michaelklishin" target="_blank">http://twitter.com/michaelklishin</a><br>
</div></div>
</blockquote></div>