fetching from closer mirrors?

Daniel J. Luke dluke at geeklair.net
Thu Sep 27 06:02:03 PDT 2007


On Sep 26, 2007, at 7:24 PM, cssdev at mac.com wrote:
> What about a user-initiated step (port test-mirrors?), cached into  
> one of the .conf files, that would simply compare ping results  
> among the available mirrors. It could simply store the fastest  
> mirror as the one to use. A user might be able to re-run the test  
> periodically to determine the current fastest mirrors.

Lots of places misguidedly block or filter ICMP. ... but you could  
probably create a reasonable implementation.

> Perhaps we could follow some of the work done to find the fastest  
> FreeBSD cvsup servers...
>
> <http://ipucu.enderunix.org/view.php?id=553&lang=en>
>
> We already retain a list of mirrors for a given id (sourceforge,  
> gnu, etc.), so we know the servers to query. MacPorts could store a  
> "preferred mirror" for each id based on the fastest ping results.

I look forward to seeing the patch ;-)
--
Daniel J. Luke
+========================================================+
| *---------------- dluke at geeklair.net ----------------* |
| *-------------- http://www.geeklair.net -------------* |
+========================================================+
|   Opinions expressed are mine and do not necessarily   |
|          reflect the opinions of my employer.          |
+========================================================+


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-dev/attachments/20070927/2a862a6e/PGP.bin


More information about the macports-dev mailing list