an intriguing wifi http server mystery...please help
Irmen de Jong
irmen.NOSPAM at xs4all.nl
Thu Dec 1 10:46:53 CET 2005
jojoba at gmail.com wrote:
> Hi again Istvan,
> Good suggestion.
> I have tried another server and it works flawlessly, regardless of the
> computers being wireless or wired. Excellent.
> However, i am still intrigued as to why the server is fast when both
> computers are wireless and the desktop is the server (while the laptop
> is the client), but slow when both computers are wireless and the
> desktop is the client (while the laptop is the server).
> I guess i am just curious as to what possible thing (most likely in
> software, as we have discovered) could cause this assymetry.
> Thanks for any ideas,
Just a guess: could it be that your server is doing reverse-dns lookups?
(i.e. it does socket.gethostbyaddr to get names by ip addresses,
perhaps for logging or whatnot)
This call is expensive. Sometimes this call takes ages to complete,
if you have a broken DNS config.
More information about the Python-list