about daemons and IPC

Paul Rubin http
Sat Aug 26 23:19:43 EDT 2006


sdistefano at gmail.com writes:
> For the first time I'm doing a client/server application, and I'm
> really confused with IPC stuff.

Client-server applications are traditionally done with sockets.

> I read the fastest method is shared memory, but I tryed mmap and found
> it tedious for the amount of data I'm handling (which is 30K at most,
> but mmap seems to get tedious for anything bigger than a boolean... am
> I missing something?)

Mmap is missing any kind of locks, semaphores, etc.  There was an shm
module that included this stuff but I don't know what's happened to it.
It's really unfortunate that it was never included with Python.



More information about the Python-list mailing list