<div dir="ltr">Hi Michael -<div><br></div><div>Thanks for your quick response, as always!</div><div><br></div><div>I am already monitoring node column in HTTP API for queues. I get to know when there is a node failure and I see the queue distribution on nodes as a pie chart.</div>
<div><br></div><div>After I bring the node back up, I cannot help redistribute queues evenly again. I am processing several hundred Gigabytes of data per day. CPU Usage on nodes where queues live and delivery rates are directly related to number of messages remaining in my queues, that is why I want to redistribute the queues back again.</div>
<div><br></div><div>(Please note: I have enough consumers to listen on all nodes.)</div><div><br></div><div>Please advise if this would make sense to provide an option via rabbitmqctl or rabbitmqadmin or via management UI?</div>
<div><br></div><div>Thanks for your help!</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Mar 24, 2014 at 11:52 PM, Michael Klishin <span dir="ltr"><<a href="mailto:mklishin@gopivotal.com" target="_blank">mklishin@gopivotal.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On 25 March 2014 at 10:49:26, Arun Rao (<a href="mailto:arunrao.seattle@gmail.com">arunrao.seattle@gmail.com</a>) wrote:<br>

> > I am under the impression I get more throughput having 16 queues<br>
> living on 4 different nodes compared to 16 queues living on 3 nodes.<br>
> This difference becomes noticeable when the number of messages<br>
> ready picked up are significantly higher? This actually goes<br>
> back to making queues local and providing more hardware. Am i<br>
> mistaken?<br>
<br>
</div>This is partially true. What matters is publisher and consumer locality.<br>
For maximum throughput you want to avoid intra-cluster traffic.<br>
<br>
In an HA setup, your clients need to reconnect to another node, so likely<br>
you won’t get in a situation when most clients are connected to a single node.<br>
<br>
If that’s not good enough, you can use HTTP API to find what node hosts master<br>
for the queue in question and connect there. <br>
<div class="HOEnZb"><div class="h5">--<br>
MK<br>
<br>
Software Engineer, Pivotal/RabbitMQ<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>
</div></div></blockquote></div><br></div>