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 'rabbit-test'.</div>
<div>Is it because the producer just send message with exchange & 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 & 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 &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"><<a href="javascript:_e({}, 'cvml', 'kalinchih@gmail.com');" target="_blank">kalinchih@gmail.com</a>></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 "rabbit_test" 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 "Mirrored Queue Behaviour"?</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>