Re: Country specific round-robin on mirrors
| From: | Daniel Brown | Date: | Tue, 21 Feb 2012 14:04:26 +0000 |
| Subject: | Re: Country specific round-robin on mirrors | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-13080@lists.php.net to get a copy of this message | ||
On Tue, Feb 21, 2012 at 03:16, Hannes Magnusson
<hannes.magnusson@gmail.com> wrote:
> Hi all (intentionally not flooding php-mirrors@)
>
> How do you guys feel about tweaking our mirror infrastructure a little
> by making countrycode.php.net a round robin to
> countrycode[1,2,3].php.net?
>
> That would mean that _all_ mirrors would have to update their
> ServerAlias (to listen to countrycode.php.net, and existing
> countrycode.php.net would need to "rename" themselfs to
> countrycode1.php.net).
> This would fix the situation when the countrycode.php.net mirror
> becomes inactive, and therefore breaking for people writing
> countrycode.php.net directly (which surprisingly many people do).
> It would also workaround situations like mentioned in #61146..
I'm okay with that. I see many other benefits it would give to
both the site visitors and us, as well.
This spring will be another overhaul of the mirrors --- getting
PHP versions updated, doing some cleanup, getting contact information
updated and alternates defined, finishing the SQLite normalization,
and finally putting the geo-displaced rsync layer, among other things.
I'll work in the hostname updates in the process.
I'd probably just have the XX2 and XX3 mirrors add XX to their
ServerAlias definitions, though, keeping them also listening on their
existing alternates, and not changing XX mirrors. We should then add
a redirect rule so that if the hostname is not /^[a-z]{2,}$/, it gets
rewritten to match such. Thus, XX2 (XX3) automatically force-redirect
to XX, even though all original hosts still exist. Then, moving
forward, new mirrors will simply add XX as opposed to XX# as their
ServerName definition, and - when a country has its secondary (and
tertiary) mirrors removed - links will eventually break.... but for
the most part, by then, users will be used to just seeing XX.php.net,
and links they copy and paste will be the same, so a relatively small
number of broken links should exist. Save for what will then be, in
relation to the Internet, some antique links in the archives and such.
--
</Daniel P. Brown>
Network Infrastructure Manager
http://www.php.net/