<div dir="ltr">2013/1/14 Sudhakar Chokkalingam (schokkal) <span dir="ltr">&lt;<a href="mailto:schokkal@cisco.com" target="_blank">schokkal@cisco.com</a>&gt;</span><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

Could please help me, how we can do this round-robin distribution in queue level.</blockquote></div><br>Sudhakar,</div><div class="gmail_extra"><br></div><div class="gmail_extra">If you want to distribute messages between queues, you need to use Consistent Hash exchange [1] type</div>

<div class="gmail_extra">which is available as a plugin. With RabbitMQ 3.0, you can enable it with</div><div class="gmail_extra"><br></div><div class="gmail_extra">rabbitmq-plugins enable rabbitmq_consistent_hash_exchange</div>

<div class="gmail_extra"><br></div><div class="gmail_extra" style>If having multiple consumers on a shared queue is an option, with equal prefetch levels you will get round</div><div class="gmail_extra" style>robin delivery to consumers, as demonstrated in [2].</div>

<div class="gmail_extra" style><br></div><div class="gmail_extra" style>With multiple queues you will get better overall throughput on multicore machines. With a single shared</div><div class="gmail_extra" style>queue there is no need to use any plugins.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">1. <a href="https://github.com/rabbitmq/rabbitmq-consistent-hash-exchange">https://github.com/rabbitmq/rabbitmq-consistent-hash-exchange</a></div><div class="gmail_extra">

2. <a href="http://www.rabbitmq.com/tutorials/tutorial-two-python.html">http://www.rabbitmq.com/tutorials/tutorial-two-python.html</a><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>