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

Paul Rubin http
Tue Mar 9 08:11:04 EST 2004


seberino at spawar.navy.mil writes:
> Thanks.  What about sockets??  If we
> hardwire child processes to have a fixed ip address
> and port then I can communicate with a socket right?

If the processes are on the same machine, ip sockets are overkill.

What is the application, if I can ask?  How much speed do you need?

The absolute fastest method will be to use a module like this:

http://gigue.peabody.jhu.edu/~mdboom/omi/source/shm_source/shm.html

But you will have to know what you're doing.



More information about the Python-list mailing list