[Pythonmac-SIG] socket.getaddrinfo problems

Jack Jansen Jack.Jansen at cwi.nl
Fri Apr 16 11:04:55 EDT 2004


On 16-apr-04, at 5:29, Dudley Carr wrote:
> DNS caching would certainly improve subsequent queries for the same 
> domain. However, what I tried to point out with the timings is that I 
> get these rather large spikes (17 seconds) which I don't attribute to 
> general slowness of getaddrinfo on OS X. The example only used 
> yahoo.com. However, when I did twenty different getaddrinfo queries 
> for different domains, I still saw those spikes consistently happening 
> after 10 or so queries. I have to attribute it to my network setup 
> because the two other timings by other people didn't show the large 
> spikes that I am seeing.

Is it feasible to put a sniffer on your network and see whether there's 
funny network traffic going on?
--
Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma 
Goldman




More information about the Pythonmac-SIG mailing list