This is the mail archive of the
mailing list for the Cygwin project.
Re: multiple mirror code && setup HEAD
- From: "David A. Cobb" <superbiskit at home dot com>
- To: "Gary R. Van Sickle" <g dot r dot vansickle at worldnet dot att dot net>
- Cc: cygwin-apps at sources dot redhat dot com
- Date: Wed, 02 Jan 2002 11:40:19 -0500
- Subject: Re: multiple mirror code && setup HEAD
- Organization: Excite/At-Home User via Cox
- References: <NCBBIHCHBLCMLBLOBONKMELKCHAA.firstname.lastname@example.org>
Trying to jump aboard long after the ship left the pier . . . .
Gary R. Van Sickle wrote:
>>Setup now allows the selection of multiple mirror sites, and will
>>download from them failing over automatically when an error occurs, on a
> Coolness. One dime-a-dozen-notion that I've been having is an automatic site
> selection ability that would ping 'em all and let God sort 'em out, or rather
> qsort, and then fail over in order of increasing ping.
I've been mentally doodling something like this in a different context.
How about, instead of *ping* the sites, retrieve their
table-of-contents (here = setup.ini), saving the time. This would give
a time measure that accounts for the current business of the remote
site, congestion on the net, and all the other nasty factors that can
affect network timings. One caveat - also applicable to ping - is that
some remote sites may be unable to satisfy the request at all within a
reasonable time. Thus one needs to timeout the request and mark the
affected sites as loosing the race.
Of course, this is all much too costly in time to do sequentially -
maybe with multiple connections it can be made useable.
Just a thought.
David A. Cobb, Software Engineer, Public Access Advocate.
New PGP key 09/13/2001:
"By God's Grace I am a Christian man, by my actions a great sinner."
--The Way of a Pilgrim, R. M. French [tr.]
Potentially Viral Software is any software for which you are not allowed
to examine the source. Do not buy or use Potentially Viral Software!