Best way for inter-process communication in Python

Gabriel Genellina gagsl-py at yahoo.com.ar
Mon Dec 4 18:52:54 EST 2006


At Monday 4/12/2006 14:24, Hugo Ferreira wrote:

>The client-side of this program is a function in PostgreSQL. For the
>sake of simplicity, let's assume it is another program in Python that
>will be asking the resident one for results on-demand. Let's also
>assume that there will be dozens of concurrent requests.
>
>My problem is: what is the fastest, easiest way to accomplish this
>inter-process communication? The data between them will be very small:
>1Kb max per request. I've thought about SOAP, sockets and named
>pipes... But since I have no experience on any of them using Python, I
>can't decide which way is better...

xmlrpc is an easy way and portable.
If it's Windows only, named pipes in message mode are easy to implement too.


-- 
Gabriel Genellina
Softlab SRL 

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar



More information about the Python-list mailing list