about daemons and IPC

flupke flupke at nonexistingdomain.com
Tue Aug 29 06:11:05 EDT 2006


sdistefano at gmail.com schreef:
> Hey people!
> For the first time I'm doing a client/server application, and I'm
> really confused with IPC stuff.
> 
> 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?)
> 
> Then I found many solutions for forked processes (like posh), but
> that's not what I need right now.
> 
> Any suggestions?
> 

You can also use RPC or even use a framework to do that for you like
Twisted. I like both approaches because they simplify communications.
For Twisted you have the initial investement in getting to know it but
it's also a lot more versatile



More information about the Python-list mailing list