xmlrpclib

Roger Binns rogerb at rogerbinns.com
Tue Aug 31 09:03:32 CEST 2004


Graeme Matthew wrote:
> Just wanted to know if anyone knows if xmlrpclib is scalable i.e can
> handle many / asynchronous calls.

You should specify what goal it is you are trying to achieve.  For example
it isn't clear if you are talking about the server end or the client
end.

Additionally you haven't said how far apart the client and server are.
(Same machine? Same LAN? Same continent?)

xmlrpc is not asynchronous.  It is a request/response model.  Each request
gets exactly one response.  There is no method for sending data outside
of that.  For example the server end can't send random event messages
without the client end polling for them.

And what do you mean by handle?  Is that a speed question, a reliability
question, a size of data structures question?

Lastly the current Python xmlrpc implementation, both client and
server end makes one network connection per request/response pair
and then closes it.

Roger 





More information about the Python-list mailing list