Is xmlrpclib slow?
Magnus Lie Hetland
mlh at idi.ntnu.no
Thu Sep 27 07:58:14 EDT 2001
I've been working on a little server lately, and I've
been toying with using xmlrpc in it... And just for
fun, I thought I'd test its performance. Since I'm
working on a not-quite-up-to-date Sun box, I'm not
quite sure what processor I have... But it seems reasonable.
(Not exactly fast, but OK, e.g. about 10000 records
written to MetaKit takes 1 second.)
First I implemented it with a simple
BaseHTTPServer.HTTPServer and tried to throw 100
queries at it... And it took 21 seconds to do even just
simple parroting! I tried the same thing with Medusa,
and it took 11 seconds!
Is it just the machine I'm using that's really slow, or
is the xmlrpclib module a big bottleneck here?
(I realise I haven't given any real empiric info here,
but if someone has the know-how, I guess it doesn't
matter ;)
--
Magnus Lie Hetland http://www.hetland.org
"Reality is that which, when you stop believing in
it, doesn't go away." -- Philip K. Dick
More information about the Python-list
mailing list