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

Itamar Turner-Trauring itamar at futurefoundries.com
Sun Feb 24 19:38:18 EST 2013

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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20130224/d9b558bc/attachment.htm 

More information about the Twisted-Python mailing list