<div dir="ltr"><div><div>Hi again, <br><br></div>When I changed the connection from blocking to non-blocking (using select connection method) my throughput has increased hugely. <br></div><div>Also correctly configured publisher confirm as per yesterday&#39;s suggestions. <br>
<br></div><div>I am yet to try different things but from the initial tests on high end server now I can see I can publish 8000 msg/Sec with single publisher and no consumer.<br></div><div>On my macbook I get 1800 msg/sec throughput with single producer and single consumer. <br>
</div><div><br></div><div>Thank you all again. It was very helpful for my work. I will not try to simulate multiple producers/consumers using this improvements and see what throughout I get. <br><br></div><div>//P<br></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 25, 2013 at 6:39 PM, PRIYANKI VASHI <span dir="ltr">&lt;<a href="mailto:vashi.priyanki@gmail.com" target="_blank">vashi.priyanki@gmail.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 dir="auto"><div>Hi ,�</div><div><br></div><div>Thanks Micheal and everyone else.�</div><div>I got some good insight now on my problems.�</div>
<div><br></div><div>Will try to do some changes based on them and see how it goes.�</div><div><br></div><div>Will write back.�</div><div><br></div><div>//P<br><br>Sent from my iPhone</div><div><div class="h5"><div><br>On 25 jun 2013, at 18:20, Michael Klishin &lt;<a href="mailto:michael.s.klishin@gmail.com" target="_blank">michael.s.klishin@gmail.com</a>&gt; wrote:<br>
<br></div><blockquote type="cite"><div><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2013/6/25 Priyanki Vashi <span dir="ltr">&lt;<a href="mailto:vashi.priyanki@gmail.com" target="_blank">vashi.priyanki@gmail.com</a>&gt;</span><br>
<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">

<div>What is the concept of blocking connection ?�</div>
<div>What difference really it will make over other type of connection ?</div><div><br></div><div>Some theory on this would be helpful.</div></blockquote></div><div class="gmail_extra"><br></div><div class="gmail_extra">


Blocking I/O-based connection assumes the caller blocks (waits) until the response arrives.</div><div class="gmail_extra"><br></div><div class="gmail_extra">With a non-blocking implementation, the caller does not wait, which means your program can write</div>


<div class="gmail_extra">continuously but also that responses that arrive at a later point are handled differently, often</div><div class="gmail_extra">forcing developers to use less familiar APIs and manage program state differently.</div>


<div class="gmail_extra"><br></div><div class="gmail_extra">Pika offers you to choose from multiple connection implementations. Michael</div><div class="gmail_extra">suggests you to start with the most straightforward one and when you have that working,</div>


<div class="gmail_extra">switch to a non-blocking implementation (e.g. Tornado-based) which often yields higher</div><div class="gmail_extra">throughput.</div><br><a href="http://en.wikipedia.org/wiki/Asynchronous_I/O" target="_blank">http://en.wikipedia.org/wiki/Asynchronous_I/O</a></div>


<div class="gmail_extra"><a href="http://www.sal.ksu.edu/faculty/tim/ossg/Device/blocking.html" target="_blank">http://www.sal.ksu.edu/faculty/tim/ossg/Device/blocking.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>
</div></blockquote></div></div><blockquote type="cite"><div><span>_______________________________________________</span><div class="im"><br><span>rabbitmq-discuss mailing list</span><br><span><a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a></span><br>
<span><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></span><br></div></div></blockquote></div></blockquote>
</div><br></div>