best way to accelerate xmlrpc?

"Martin v. Löwis" martin at v.loewis.de
Sat Nov 8 07:39:52 EST 2008


> I've got some python xmlrpc servers and clients.
> What's the best way to accelerate them?

You mean, fastest?

> xmlrpclib.py attempts to import these modules:
> 
>     import _xmlrpclib
>     import sgmlop
>     from xml.parsers import expat
> 
> and falls back to defining the SlowParser class.

Why does it fall back on your system? It should definitely
find expat - that is included with the Python distribution.

> So, which of these modules is the preferred one to build
> for python 2.5?  for python 2.6?

sgmlop is faster than expat. _xmlrpclib apparently is no longer
available.

Regards,
Martin



More information about the Python-list mailing list