[Twisted-Python] Perspective broker and pipes

Manlio Perillo manlio_perillo at libero.it
Mon Nov 5 13:55:45 EST 2007


Jean-Paul Calderone ha scritto:
> On Wed, 31 Oct 2007 14:24:50 +0100, Nitro <nitro at dr-code.org> wrote:
>>
>> [snip]
>>
>> How big is the actual performance impact? The throughput right now is  
>> ~10- 50 kbyte/s. Is there a better way than pipes? They were just twaitformulipleobjecthe 
>> first thing that came to my mind.
> 
> TCP connections are the thing which is better. ;)  Now that I think of it,
> though, I don't know anything about how pipes are implemented on Windows.
> 

Windows named pipes should be the equivalent of Unix local sockets.
They support overlapped (aka non blocking/asynchronous) access.
http://msdn2.microsoft.com/en-us/library/aa365788.aspx
and an example:
http://msdn2.microsoft.com/en-us/library/aa365603.aspx

If I remember well, MySQL on Windows supports named pipes.

> [...]


Manlio Perillo




More information about the Twisted-Python mailing list