Re: xmlprclib/server not reusing connections
From: Skip Montanaro (skip_at_pobox.com)
Date: 02/23/04
- Next message: M.-A. Lemburg: "Re: Parsing library for Python?"
- Previous message: Florian Lindner: "Library for handling GNU parameters"
- In reply to: Roger Binns: "xmlprclib/server not reusing connections"
- Next in thread: Roger Binns: "Re: xmlprclib/server not reusing connections"
- Reply: Roger Binns: "Re: xmlprclib/server not reusing connections"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 23 Feb 2004 15:50:32 -0600 To: "Roger Binns" <rogerb@rogerbinns.com>
Roger> It appears that xmlrpclib and/or SimpleXMLRPCServer always use
Roger> new connections for each request. I have been trying to make
Roger> them reuse the existing connection but can't find where. Is
Roger> there any particular reason they go to such great lengths to call
Roger> shutdown/close/finish as well as making new connection objects in
Roger> xmlrpclib?
Connection reuse would be done at a lower level I think. Take a look at the
httplib module. Take a look at xmlrpclib's MultiCall class for another way
to improve performance in some situations.
Skip
- Next message: M.-A. Lemburg: "Re: Parsing library for Python?"
- Previous message: Florian Lindner: "Library for handling GNU parameters"
- In reply to: Roger Binns: "xmlprclib/server not reusing connections"
- Next in thread: Roger Binns: "Re: xmlprclib/server not reusing connections"
- Reply: Roger Binns: "Re: xmlprclib/server not reusing connections"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|