[Twisted-Python] combine local and remote calls in perspective brokers

Gelin Yan dynamicgl at gmail.com
Mon Feb 25 07:30:57 EST 2013


On Mon, Feb 25, 2013 at 5:15 PM, Sergey Gerasimov <sergun at gmail.com> wrote:

> ** **
>
> ** **
>
> *From:* Itamar Turner-Trauring [mailto:itamar at futurefoundries.com]
> *Sent:* Monday, February 25, 2013 4:38 AM
> *To:* sergun at gmail.com; Twisted general discussion
> *Subject:* Re: [Twisted-Python] combine local and remote calls in
> perspective brokers****
>
> ** **
>
> ** **
>
> On Sun, Feb 24, 2013 at 11:23 AM, Sergey Gerasimov <sergun at gmail.com>
> wrote:****
>
> Hello to all!****
>
>  ****
>
> I’m using PB as communication protocol for components of my system.****
>
> Components can be located locally on the only one machine or in
> distributed fashion. It depends on the config file.****
>
>  ****
>
> 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?****
>
> ** **
>
> When you say "locally", 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't necessarily have to do
> anything special.****
>
> ** **
>
> -Itamar****
>
> ** **
>
> Itamar,****
>
> ** **
>
> nn my case “locally” means local objects in the only one process. ****
>
> ** **
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>
Hi

   It is fine to run both of sides within the same process, many test
suites in twisted do this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20130225/5d18efe7/attachment-0001.htm 


More information about the Twisted-Python mailing list