Suggestion: The mirroring array
| From: | shimi | Date: | Thu, 07 Aug 2003 18:07:48 +0000 |
| Subject: | Suggestion: The mirroring array | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-19955@lists.php.net to get a copy of this message | ||
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.
My idea:
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).
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). This concept, when applied on the us servers as well,
will help greatly in reducing the load on the main www.php.net website.
P.S. it is possible to also have the current names stay, and stated on the
website, that people could access a *specific* mirror, if they wish to do
so.
Comments? :)
--
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."