Re: very slow XMLRPCServer
David McNab <[email protected]> Tue, 19 May 2009 23:06:20 +1200
| Newsgroups | gmane.comp.python.windows-ce |
|---|---|
| Message-ID | <1242731180.7080.20.camel@rebirth> |
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