[PythonCE] very slow XMLRPCServer
David McNab
rebirth at orcon.net.nz
Tue May 19 13:06:20 CEST 2009
On Mon, 2009-05-18 at 16:17 -0500, Warren Lindsey wrote:
> Sounds like this might be dns related. If the server is doing reverse
> lookups (and subsequent timeouts) for every incoming connection it can
> be quite slow.
Thanks for the lead.
Turns out that was exactly the problem. The address_string() method in
BaseHTTPRequestHandler does a .getfqdn with each logging call.
I worked around it by overriding .log_message().
Result is that my XML-RPC filesystem is now working, and I can now
'mount' my iPaq into my Linux filesystem via WLAN.
Cheers
David
More information about the PythonCE
mailing list