<div dir="ltr">On Tue, Jul 1, 2014 at 6:39 PM, Xicheng Chang <span dir="ltr"><<a href="mailto:Xicheng.Chang@huawei.com" target="_blank">Xicheng.Chang@huawei.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">Greetings,
<div><br>
</div>
<div>This is my first post. Sorry for this beginner's question. </div>
<div><br>
</div>
<div>I have read some docs on how to configure OpenStack to use Highly available rabbitmq. Looks like simply configuring services with all queue nodes in that HA cluster would work. </div>
<div><br>
</div>
<div>--Do the services that use HA queue ensure the message sequencing? </div>
<div><span style="font-size:10pt"> </span></div>
<div><span style="font-size:10pt">For example, if message mirroring/syncing between nodes fails or delays for some reason, some messages that required to be delivered prior to others may get delivered late. Is the service consuming this queue cluster ensuring
 the sequence or does RabbitMQ somehow do it?(this is unlikely as messages may get delayed while they are being sent to the queues and the queues wouldn't even know so)</span></div>
<div><span style="font-size:10pt"><br>
</span></div>
<div><span style="font-size:10pt">Thank you!</span></div><span class="HOEnZb"><font color="#888888">
<div><span style="font-size:10pt"><br>
</span></div>
<div><span style="font-size:10pt">Xicheng </span></div>
<div><br>
</div>
<div><br>
</div>
</font></span></div>
</div>

<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br>Xicheng,<br><br>When utilizing RabbitMQ's HA capabilities it will ensure that ordering of messages is preserved, as all transactions against the master are coordinated with slaves. If replication fails then you will have one queue that is missing messages, but the ordering up to that point will be preserved.<br>
<br>The primary scenario in which ordering issues might occur is if you have multiple consumers working on a queue, and one of those consumers has to re-queue a message for some reason.<br><br>Regards,<br><br>Richard<br></div>
</div>