Fast way to send message between 2 child processes? (using a file is too slow?)

Paul Rubin http
Tue Mar 9 17:48:39 EST 2004


Josiah Carlson <jcarlson at nospam.uci.edu> writes:
> > http://gigue.peabody.jhu.edu/~mdboom/omi/source/shm_source/shm.html
> > But you will have to know what you're doing.
> 
> OOO, that is nice.  I've been using IP sockets for all local
> communication, sweet.

shm isn't for everyone, since it gives you all the standard hassles of
concurrent programming.  But using IP sockets is really unnecessary on
a local system.  You should use AF_UNIX sockets instead.  They have
much less overhead than IP sockets.



More information about the Python-list mailing list