xmlrpclib

Graeme Matthew graeme.matthew at contrado.com.au
Tue Aug 31 07:36:00 EDT 2004


I was a big vague, I hope this makes more sense.

I am talking about the server end.

I understand that xml-rpc is a request response mechansim (i.e it runs over
http).

The client and the server will span continents i.e Australia to US, US to
Australia.
What I am trying to establish is if the server is asynchronous i.e
multi-threaded i.e what happens when 2 requests hit the server at once?

i.e Does it handle one request at a time?
i.e Does it start a new thread on each request?
i.e Does it use a threading pool?

I am trying to find other people who have used it successfully as most of my
dev work is in python.

Hope this helps

Cheers

Graeme



"Roger Binns" <rogerb at rogerbinns.com> wrote in message
news:2hkd02-v7v.ln1 at home.rogerbinns.com...
> 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