Light (general) Inter-Process Mutex/Wait/Notify Synchronization?

Gunter Henriksen gunterhenriksen at gmail.com
Tue Apr 28 13:06:20 EDT 2009


> Linux doesn't do interprocess communication very well.
> The options are [...] and shared memory (unsafe).

I think the bar has to be set pretty high to say shared memory
is too unsafe an approach for active entities to communicate.


> If you're using CPython, don't worry about socket overhead.
> CPython is so slow you'll never notice it.

It is not so much the socket overhead as the context switch.
If processes could send data to each other through sockets
without making system calls, that would be great.



More information about the Python-list mailing list