Best method for inter process communications
Grant Edwards
grante at visi.com
Mon Jul 16 14:05:26 EDT 2007
On 2007-07-16, JamesHoward <James.w.Howard at gmail.com> wrote:
> I am looking for a way of performing inter process communication over
> XML between a python program and something else creating XML data.
>
> What is the best way of performing this communication? I could bind a
> socket to localhost and perform the data transfer that way, but that
> seems inefficient due to the addition of TCP/IP or UDP/IP overhead.
> Is there a way to stream data via a custom datastream (I.E. not STDIO,
> STDERR, etc)?
You could use a named pipe or a Unix domain socket. The nice
thing about an IP socket is that you get network transparancy:
the two programs can be moved to two different machines.
--
Grant Edwards grante Yow! It's the RINSE CYCLE!!
at They've ALL IGNORED the
visi.com RINSE CYCLE!!
More information about the Python-list
mailing list