<div dir="ltr"><div>I see. so tags does not affect delivery. If I have 4 channels reading from same queue, messages will be distributed across 4 channels. <br><br></div>Another question I had, regarding reading multiple messages. Consider a distributed WAN deployment situation, where consumer and rabbitmq broker are 60 ms apart (RTT of 120 ms). If consumer can get only one message from queue in one read, then it can only get 7-8 messages/second. We can use multi-threading, but if there is support of reading multiple messages in one read, that could improve the read rate even in WAN deployment and with single thread - I was wondering if there is a support for such read or if there is a plan.. <br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jul 6, 2013 at 12:29 PM, Tim Watson <span dir="ltr"><<a href="mailto:watson.timothy@gmail.com" target="_blank">watson.timothy@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Tags uniquely identify consumers in a channel and are used in some methods<br>
such as basic.cancel. They won't affect delivery and can be duplicated across different channels. The server will also allocate them if you do not.<br>
<br>
Cheers<br>
Tim<br>
<div><div class="h5"><br>
On 6 Jul 2013, at 06:16, Ashok Anand <<a href="mailto:ashok.anand@gmail.com">ashok.anand@gmail.com</a>> wrote:<br>
<br>
> I am looking at message distribution among multiple consumers listening to the same queue.. Should these consumers use different consumer tags?<br>
><br>
> I tried with non-exclusive access to the queue with 4 consumers using same consumer tag. My question is whether using same consumer tag will give predicted behavior - or I must use different consumer tags.<br>
><br>
> I did find that messages get distributed among 4 consumers in round-robin manner even using same consumer tag. Just wondering if this happened by chance, and ideally, these consumers must use different customer tags? I am not sure about semantics of consumer tags in non-exclusive mode access..<br>
</div></div>> _______________________________________________<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>
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>
</blockquote></div><br></div>