[Catalog-sig] PyPI mirrors are all up to date

Noah Kantrowitz noah at coderanger.net
Mon Apr 16 10:12:07 CEST 2012


On Apr 16, 2012, at 1:05 AM, Dylan Jay wrote:

> On 16/04/2012, at 5:42 PM, Noah Kantrowitz wrote:
> 
>> 
>> On Apr 16, 2012, at 12:10 AM, Dylan Jay wrote:
>> 
>>> Hi,
>>> 
>>> Some DNS load balancing services have api's. For example edgedirector.com, but there others (and perhaps cheaper).
>>> 
>>> Why not go to the next level and get the script on this page to update a DNS load balancer with all green mirrors?
>>> Then switching mirrors would be automatic.
>> 
>> This wouldn't be a good idea since getting redirected to two different mirrors during one install attempt would likely confuse most existing scripts if versions were slightly out of sync.
> 
> I don't think it would direct you to two different mirrors during one install attempt. Wouldn't a single python session cache DNS resolution?

I don't see how you could assume that given that it would follow the system resolver's behavior in most cases, and that isn't the kind of thing to count on. Regardless the uptime of PyPI will shortly become a non-issue :-)

--Noah
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.python.org/pipermail/catalog-sig/attachments/20120416/0d2e8f0c/attachment.pgp>


More information about the Catalog-SIG mailing list