<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi ,&nbsp;</div><div><br></div><div>Thanks Micheal and everyone else.&nbsp;</div><div>I got some good insight now on my problems.&nbsp;</div><div><br></div><div>Will try to do some changes based on them and see how it goes.&nbsp;</div><div><br></div><div>Will write back.&nbsp;</div><div><br></div><div>//P<br><br>Sent from my iPhone</div><div><br>On 25 jun 2013, at 18:20, Michael Klishin &lt;<a href="mailto:michael.s.klishin@gmail.com">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 ?&nbsp;</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">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">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><blockquote type="cite"><div><span>_______________________________________________</span><br><span>rabbitmq-discuss mailing list</span><br><span><a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a></span><br><span><a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a></span><br></div></blockquote></body></html>