XML-RPC(using SimpleXMLRPCServer) slow on the first call

Mahi Haile begin.middle.end at gmail.com
Wed Oct 14 18:58:05 CEST 2009

---------- Forwarded message ----------
> From: "Gabriel Genellina" <gagsl-py2 at yahoo.com.ar>
> To: python-list at python.org
> Date: Wed, 14 Oct 2009 00:52:13 -0300
> Subject: Re: XML-RPC(using SimpleXMLRPCServer) slow on the first call
> En Mon, 12 Oct 2009 18:58:45 -0300, Mahi Haile <begin.middle.end at gmail.com>
> escribió:
>  Hello all,I have an xml-rpc server running on a machine in the same LAN as
>> the client. Both the server and the client are in Python.
>> When I have a series of xmlrepc calls from the client to the server, the
>> first call usually takes much longer than it should - orders of magnitude.
>> The latency is usually sub-10ms on the other calls, but the first call
>> takes
>> up to 10 seconds or so. This are very simple functions, with almost no
>> computation.
>> Do you have any ideas?
> I doubt this is a Python problem. I'd look into the network: DNS
> resolution, IPv6 (Windows XP has some timeout issues with IPv6 enabled).
> --
> Gabriel Genellina
> That seems to be correct. The machine is behind a NAT, so that is probably
why. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091014/afdc60da/attachment.html>

More information about the Python-list mailing list