Best method for inter process communications

Marc 'BlackJack' Rintsch bj_666 at
Tue Jul 17 10:18:10 CEST 2007

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 [10]: len(a)
Out[10]: 80

In [11]: print a
<value><string>hello world</string></value>

Even with some additional boilerplate like XML declaration etc. there is
still a little bit room until 10 kB are reached.  :-)

	Marc 'BlackJack' Rintsch

More information about the Python-list mailing list