Re: xmlprclib/server not reusing connections

From: Skip Montanaro (skip_at_pobox.com)
Date: 02/23/04


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



Relevant Pages

  • Where will you please the terrible radical notions before Zebediah does?
    ... What does Roger ... To be blind or molecular will rely successful guides to particularly ... in connection with the high platform. ...
    (sci.crypt)
  • Re: xmlrpc, httplib and SSL
    ... > Roger> I now have code that works for me and my project. ... The standard modules need to be redesigned! ... - Automatic reopen of connection if above one doesn't ... work (eg remote end closed it after timeout) ...
    (comp.lang.python)
  • Re: VPN Problem
    ... Roger wrote: ... > Home Network: Consists of a desktop and a laptop, ... I'd leave it enabled....you can initiate a VPN connection behind a ... > outgoing VPN connection from the home laptop (say Computer A-the ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: Select aus zwei (Access)Datenbanken
    ... Gruss Roger ... Konkret habe ich eine zweite Datenbank und ich möchte im Select nur die Kontakte einer bestimmten Kategorie erhalten. ... Dann kannst du das über eine Connection und Join direkt abgreifen. ... Alternativ könntest du dir die 2 Tabellen auch in ein DataSet, über 2 Connections nacheinander, laden und dann die Tabellen über Relations (s. ...
    (microsoft.public.de.german.entwickler.dotnet.datenbank)
  • Re: IAS Error
    ... Roger ... > If your authentication is working ok, ... processes the request to see if it is a local user, ... The RAS server I have does not seem to acknowledge ...
    (microsoft.public.internet.radius)