<div dir="ltr">Thanks for the reply MK, we are using�<span style="font-family:arial,sans-serif;font-size:13px">mirrored queues. �With this we cannot achieve load balancing rt?</span></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Oct 18, 2013 at 12:27 PM, Michael Klishin <span dir="ltr">&lt;<a href="mailto:mklishin@gopivotal.com" target="_blank">mklishin@gopivotal.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
On oct 18, 2013, at 9:09 a.m., Rajasekhar P &lt;<a href="mailto:sekhar434145@gmail.com">sekhar434145@gmail.com</a>&gt; wrote:<br>
<br>
&gt; What we are trying to achieve to distribute specific queues/message to particular node, like -<br>
&gt;<br>
&gt; queue1, messages 1-100 goes to node1,<br>
&gt; queue1, messages 101-200 goes to node2,<br>
&gt; queue2, messages 201-300 goes to node3,<br>
&gt; queue2, messages 301-400 goes to node4, etc.<br>
&gt;<br>
&gt;<br>
&gt; Is this can be achieved using policies?<br>
<br>
</div>You&#39;re still not specifying if you are using federation or mirrored queues.<br>
<br>
Mirrored queues cannot do that. Mirroring is about copying<br>
messages to 2+ nodes.<br>
<br>
Sharded queues is a feature that&#39;s being discussed, in the meantime,<br>
federated queues in 3.2 is the closest to load balancing a single queue you can get.<br>
<br>
Also, you can partition a message stream between queues using consistent hashing<br>
exchange [1] and techniques such as [2].<br>
<br>
1. <a href="https://github.com/rabbitmq/rabbitmq-consistent-hash-exchange" target="_blank">https://github.com/rabbitmq/rabbitmq-consistent-hash-exchange</a><br>
2. <a href="http://about.travis-ci.org/blog/2013-08-08-solving-the-puzzle-of-scalable-log-processing/" target="_blank">http://about.travis-ci.org/blog/2013-08-08-solving-the-puzzle-of-scalable-log-processing/</a><br>
<span class="HOEnZb"><font color="#888888"><br>
MK<br>
<br>
<br>
<br>
</font></span><br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a 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></blockquote></div><br></div>