Re: Suggestion: The mirroring array
| From: | shimi | Date: | Thu, 07 Aug 2003 19:35:25 +0000 |
| Subject: | Re: Suggestion: The mirroring array | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-19970@lists.php.net to get a copy of this message | ||
On Thu, 7 Aug 2003, Gabor Hojtsy wrote:
> > As of today, mirrors are given a specific subdomain to host (such as
> > ar.php.net). The problem with this concept is that quite often mirrors get
> > either outdated, dead, unreachable, and so on, and people who are "aware
> > of the mirror", either by directly accessing to it, or people linking to
> > the mirrors directly, instead of the main website, get simply nothing when
> > such thing happens.
>
> If a mirror have serious problems, our system disables it right away,
> and we see those problematic mirrors. If you visit the mirror management
> page, you can see that we have very few mirrors with long lasting
> problems. Most of the problems are only affecting mirror acess for a few
> minutes/hours.
>
Disables it = "removes it from mirrors.php". I believe I was talking about
the fact that EXISTING links to the mirrors, or people who use the mirrors
directly, will get a connection refused/bad mirror. What the script
currently disable *does not* stop this.
> > Instead of having each mirror under a specific "number" in an array of a
> > country, install all the mirrors as "countrycode.php.net", and use a
> > smarter system than the current one, that will look up the IP of the CNAME
> > that people give every once in a while (a day, for instance), and then try
> > to contact all the mirrors according to the IP against the countrycode
> > name. Given the "the mirror on this IP is working" status code, generate
> > the subdomain of php.net with that IP, too.
> >
> > Given *no* IPs are return to have positive responses, point the subdomain
> > to the PHP.net master mirror (or any other US mirror, whatever is decided).
>
> Do you mean this on the DNS level? That was discussed heavily before...
Hmm yeah, I meant that in the DNS level... given the fact that since
master.php.net is already messing with the zone file by itself, I don't
see the problem in the mirrors script updating the zone...
>
> > This new concept also helps spreading the load on countries who has
> > numerous mirrors (i have a reason to believe that currently only the first
> > mirror is utilized).
>
> One mirorr is selected randomly from the same country, see the code
> yourself (include/loadavg.inc)...
>
Again, I was not talking about people being directed from the main PHP
site. I believe that the target should be to use *as less as possible* the
www.php.net server, up to reaching up a point in the future when people
from outside USA will not use it at all (as is done in lots of big
projects, one of them being the well famous Akamai.net...)
> Goba
>
Also I forgot to say that this way makes countrycode.php.net always work,
even if the "master" mirror for the country is disfunctional. I know that
at least for myself, I access my mirror, and not through the www website.
I have a reason to believe I am not the only one on earth doing so ;-)
--
Best regards,
Shimi
----
"Outlook is a massive flaming horrid blatant security violation, which
also happens to be a mail reader."
"Sure UNIX is user friendly; it's just picky about who its friends are."