By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,524 Members | 1,674 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,524 IT Pros & Developers. It's quick & easy.

best way to accelerate xmlrpc?

P: n/a
mh
I've got some python xmlrpc servers and clients.
What's the best way to accelerate them?

xmlrpclib.py attempts to import these modules:

import _xmlrpclib
import sgmlop
from xml.parsers import expat

and falls back to defining the SlowParser class.

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

Many TIA!
Mark

--
Mark Harrison
Pixar Animation Studios
Nov 8 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a

MarkI've got some python xmlrpc servers and clients. What's the best
Markway to accelerate them?

Markxmlrpclib.py attempts to import these modules:

Mark import _xmlrpclib
Mark import sgmlop
Mark from xml.parsers import expat

sgmlop always worked well for me. I never bothered to try anything else.
Haven't used it in quite awhile though (2.4-ish). I just built sgmlop 1.1.1
with the cvs head version of Python (aka 2.7a0) and ran its selftest script
with no errors.

Skip
Nov 8 '08 #2

P: n/a
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
Nov 8 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.