Re: autodetect mirrors
| From: | shimi | Date: | Tue, 21 May 2002 19:11:22 +0000 |
| Subject: | Re: autodetect mirrors | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-10374@lists.php.net to get a copy of this message | ||
See /include/mirrors.inc - there is an array...
There's usually no meaning for 'close' because almost all the countries
tend to route outside-country traffic in such a way that it's usually
faster to simply go to the main site (if it is indeed in north america
like i think it is)
You should remember that closest geographically doesn't mean closest
networkwise...
For instance, i live in israel, but when I go to a UK site, I do Israel ->
NY -> UK -> NY -> Israel (and not directly to Europe which is FAR closer
to ASIA than the USA as you know) - so it really depends on the ISPs.
It's too much of a headache, I think. Most well established countries
(i.e. countries where there will be many PHP users) do have a mirror, and
the little ones who don't can use the main site, and you're still reducing
*tons* of weight from the main server, IMHO.
On Tue, 21 May 2002, Adolfo Garcia Veytia wrote:
> At 21:52 5/21/2002 +0300, you wrote:
>
> >Why? it is a redirection service from the main php.net site to the php.net
> >mirrors. If someone got to a mirror, it's because he knows about it...
>
>
> You're right, so i suppose there would be no need for
> the geoip db to be installed on the mirrors then. The
> only thing that we should think about is those countries
> that do not have mirrors... perhaps build an array of
> all countries with their closest mirror?
>
>
>
>
>
--
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."
Sign that you downloaded Linux from a bad source:
"My compiler keeps hanging on NSABackdoor.h !!!"