TPCServer and xdrlib
Nick Craig-Wood
nick at craig-wood.com
Fri May 16 09:30:05 EDT 2008
Laszlo Nagy <gandalf at shopzeus.com> wrote:
> I'm trying to write a multi threaded TPC server. I have used xmlrpc
> before for many purposes, but in this case this would not be efficient:
>
> - I have to send larger amounts of data, the overhead of converting to
> XML and parsing XML back would be too much pain
> - I have no clue how to do keep-alive with simplexmlrpcserver and it is
> slow to open a new connection for each RPC
> - I would like to do session management (authentication, then store
> session info on server site) which is also hard with xmlrpc.
>
> I have looked at various solutions including:
>
> - PyOrbit - too heavy weight
> - Pyro - uses pickle, I do not trust it
It is possible to change the serialization used by Pyro
http://pyro.sourceforge.net/manual/9-security.html#pickle
to the the 'gnosis' XML Pickler.
--
Nick Craig-Wood <nick at craig-wood.com> -- http://www.craig-wood.com/nick
More information about the Python-list
mailing list