[Catalog-sig] Mirror list detection/construction - PEP 381

"Martin v. Löwis" martin at v.loewis.de
Thu Jul 22 09:59:06 CEST 2010


>> Given the fragility of this it seems that we might want to consider
>> alternative mirrorlist discovery mechanism.
>
> As a fallback, you can of course probe addresses on a binary search, or
> even just select a random mirror in the first place. (If you overshoot
> the list, you just decrease the max on your binary lookup.)

I think you misunderstood the question. The issue is not at all what 
mirrors to use once you know what they are - the question is how to find
out what mirrors exist in the first place.

When you know what they are, I do support the idea of trying them all
simultaneously, though not in parallel. With sockets, you can have many
open without having to use threads.

I'll post some code that does that shortly.

Regards,
Martin


More information about the Catalog-SIG mailing list