<br><br><div class="gmail_quote">On Mon, Feb 25, 2013 at 5:15 PM, Sergey Gerasimov <span dir="ltr">&lt;<a href="mailto:sergun@gmail.com" target="_blank">sergun@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 lang="RU" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Itamar Turner-Trauring [mailto:<a href="mailto:itamar@futurefoundries.com" target="_blank">itamar@futurefoundries.com</a>] <br>
<b>Sent:</b> Monday, February 25, 2013 4:38 AM<br><b>To:</b> <a href="mailto:sergun@gmail.com" target="_blank">sergun@gmail.com</a>; Twisted general discussion<br><b>Subject:</b> Re: [Twisted-Python] combine local and remote calls in perspective brokers<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p><div><div><div class="h5"><p class="MsoNormal">On Sun, Feb 24, 2013 at 11:23 AM, Sergey Gerasimov &lt;<a href="mailto:sergun@gmail.com" target="_blank">sergun@gmail.com</a>&gt; wrote:<u></u><u></u></p>
<div><div><p class="MsoNormal"><span lang="EN-US">Hello to all!</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">I’m using PB as communication protocol for components of my system.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Components can be located locally on the only one machine or in distributed fashion. It depends on the config file.</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">At the moment all communications are implemented as callRemote calls. I would like to keep this unified way of communication but make inter-machine calls as efficient as possible. What is the best way to do that?</span><u></u><u></u></p>
</div></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">When you say &quot;locally&quot;, is it still different processes talking to each other? Talking over TCP loopback on the same machine is pretty efficient, and unlikely to be a bottleneck, so you don&#39;t necessarily have to do anything special.<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div></div></div><div><p class="MsoNormal">-Itamar<u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Itamar,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">nn my case “locally” means local objects in the only one process. <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p></div></div></div></div><br>_______________________________________________<br>

Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
<br></blockquote></div><br><div>Hi</div><div> </div><div>   It is fine to run both of sides within the same process, many test suites in twisted do this.</div>