Python / Socket speed

Paul Rubin http
Mon Feb 26 11:41:29 EST 2007


John Nagle <nagle at animats.com> writes:
>      Sockets and pipes are a terrible way to do local interprocess
> communication, but it's what we've got.  The problem is that what you
> want is a subroutine call, but what the OS gives you is an I/O operation.

Using TCP sockets is ridiculous but Unix domain sockets aren't that
bad.  There's also mmap or shm.



More information about the Python-list mailing list