<div dir="ltr"><div>Hi Michael, thanks for your reply.</div><div><br></div>My exact scenario is as follows -<div><br></div><div>I have 2 queues - Q_IN and Q_OUT</div><div><br></div><div>I have 3 consumers - A, B and C</div>
<div><br></div><div>A writes to Q_IN in bulk, B is not yet started.</div><div><br></div><div>Once, A is done with publishing 25k messages to Q_IN, B is started and it consumes from it. After each message is processed, B writes an output to Q_OUT. It consumes and publishes at 4.5/s. C is not yet started.</div>
<div><br></div><div>Now, when C is started, it starts consuming B's output from Q_OUT, at this time message rates of B go down to 1.6-1.8.</div><div><br></div><div>A and C are python clients using pika and BlockingConnection. B is a java client.</div>
<div><br></div><div><br></div><div>Thanks,</div><div>Mahesh</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Feb 5, 2014 at 2:43 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="im"><br>
On 5 Feb 2014, at 13:09, Mahesh Viraktamath <<a href="mailto:yuva670@gmail.com">yuva670@gmail.com</a>> wrote:<br>
<br>
> When I run a consumer which writes to a queue - say "Q_OUT", the message rate is around 4.5/s. If I start another consumer which consumes from "Q_OUT", the message rate for the writing consumer drops considerably to 1.6-1.8. I can't understand how can a consuming client can bring down the message rate of the writing consumer.<br>
<br>
</div>If your consumer also publishes messages, adding another consumer to the same queue will lead to the 2nd consumer<br>
consuming some of the messages. That means the 1st consumer does less work, and publishes fewer messages.<br>
<br>
If I misunderstood your use case, can you please post some code and management UI screenshots that demonstrate<br>
your observations?<br>
<br>
MK<br>
<br>
Software Engineer, Pivotal/RabbitMQ<br>
<br>
<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></div>