Re: Adjusting CPAN::Mirrors to make it more useful

[email protected] (brian d foy)
Newsgroups perl.cpan.workers
Message-ID <[email protected]>
On Tue, Feb 8, 2011 at 4:44 AM, Adam Kennedy <[email protected]> wrote:
> I think I may have implemented what you're looking for several years
> ago for JSAN, which has a client that auto-detected appropriate
> mirrors in a few seconds each time it starts.
>
> http://search.cpan.org/~adamk/Mirror-URI-0.90/lib/Mirror/YAML.pm

I was looking at this, but it seems like the idea of downloading a
small file from several mirrors isn't a good way to figure out which
mirrors to use, especially with a large number of mirrors.

I guess you could randomly choose some mirrors and keep checking until
you find some that are fast enough.

However, shouldn't knowing something about the location can start that
more quickly when there are several hundred mirrors?

-- 
brian d foy <[email protected]>
http://www.pair.com/~comdog/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.