Re: Best method for inter process communications

2007-07-18 Thread Hendrik van Rooyen
"Marc 'BlackJack' Rintsch" <[EMAIL PROTECTED]> wrote: On Tue, 17 Jul 2007 08:08:45 +0200, Hendrik van Rooyen wrote: > I heard a rumour once that a "hello world" string takes something like > 10k bytes in XMLRPC - have never bothered to find out if its BS... Just try it out: In [8]: import xmlrpc

Re: Best method for inter process communications

2007-07-17 Thread Irmen de Jong
JamesHoward 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 that "something else"? --irmen -- http://mail.python.org/mailman/listinfo/python-list

Re: Best method for inter process communications

2007-07-17 Thread Marc 'BlackJack' Rintsch
On Tue, 17 Jul 2007 08:08:45 +0200, Hendrik van Rooyen wrote: > I heard a rumour once that a "hello world" string takes something like > 10k bytes in XMLRPC - have never bothered to find out if its BS... Just try it out: In [8]: import xmlrpclib In [9]: a = xmlrpclib.dumps(('hello world',)) In

Re: Best method for inter process communications

2007-07-16 Thread Hendrik van Rooyen
"Steve Holden" <[EMAIL PROTECTED]> wrote: > Given the radically inefficient representations that XML typically > requires, however, I think that worrying about localhost socket overhead > is unnecessary: if your application was *that* critical you wouldn't be > using XML in the first place. I

Re: Best method for inter process communications

2007-07-16 Thread JamesHoward
Thanks for the updates. I think I will try named processes first, but may just end up using local sockets in the end and not worry about the overhead. Jim Howard -- http://mail.python.org/mailman/listinfo/python-list

Re: Best method for inter process communications

2007-07-16 Thread John Nagle
Steve Holden wrote: > JamesHoward wrote: > Given the radically inefficient representations that XML typically > requires, however, I think that worrying about localhost socket overhead > is unnecessary: if your application was *that* critical you wouldn't be > using XML in the first place.

Re: Best method for inter process communications

2007-07-16 Thread Grant Edwards
On 2007-07-16, JamesHoward <[EMAIL PROTECTED]> 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 pe

Re: Best method for inter process communications

2007-07-16 Thread Steve Holden
JamesHoward 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, b

Re: Best method for inter process communications

2007-07-16 Thread marduk
On Mon, 2007-07-16 at 17:22 +, JamesHoward 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 pe

Best method for inter process communications

2007-07-16 Thread JamesHoward
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