[RFC] Cache DNS as long as the pycurl Transport is active

John Arbash Meinel john at arbash-meinel.com
Wed Aug 30 15:57:10 BST 2006


Don't forget to use Reply-All to reply to the mailing list.


Alex J. Champandard wrote:
> 
> John Arbash Meinel wrote:
>> it seems on someones machine [...] after the cache has expired, it
>> seems to fail to connect.
>>   
> 
> That would be me! :-)
> 
> I'm on a standard XP setup without cygwin, using the latest Win32 binary
> of PyCurl (quite old).  I use bzrlib directly, but the problem is
> orthogonal to that... The process of updating multiple repositories
> takes over 60 seconds sometimes, and that reveals the problems.  Note
> that urllib is equally unreliable after a while on this same setup, so
> the urllib DNS cache hack helps.
> 
> I don't usually have any network connections or other problems, so I'm
> presuming it's either XP's handling of domain name lookups, or how
> bzr/python makes use of them on this platform...
> 
> 
> Has anyone else seen unreliable connections on XP machines?

I haven't specifically seen anything. But I haven't really stressed the
machine. I thought I had tested downloading bzr.dev over http, which
usually takes ~ 10 min for me. Certainly > 1min. But I haven't used the
cygwin port in a long time, because it is much slower than running bzr
natively, and the only thing you lose is the ability to set/unset a
files executable bit. (Which I think Alexander actually has a plugin to do)

> 
> Cheers,
> Alex
> 

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060830/fe063088/attachment.pgp 


More information about the bazaar mailing list