Jean-Paul Calderone ha scritto:
On Wed, 31 Oct 2007 14:24:50 +0100, Nitro email@example.com wrote:
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.