[arch-dev-public] [RFC] Mirror load distribution

Florian Pritz bluewind at xinu.at
Mon Jan 30 19:39:38 UTC 2017


I've just received a report from a mirror admin about some very heavy
traffic. After some investigation it appears that the traffic towards
his mirror started to rise around the beginning of the new year when we
disabled the mirror checker on gerolde. Since we now only have a mirror
checker running in Germany and his server is actually in the same data
centre as ours, the mirror checks completed very quickly.

Archweb uses this data to calculate a "mirror score" which can be seen
here[1]. This score can also be used to sort the mirror list that can be
generate by archweb list this[2].

[1] https://www.archlinux.org/mirrors/status/

Apparently there is a script in AUR[3] which uses [2] to fetch a
mirrorlist. That script runs once a day.

[3] https://aur.archlinux.org/packages/update-pacman-mirrorlist/

I'm thinking about removing the mirror score from archweb's output and
more importantly, not sorting mirrors based on this score but rather
randomizing the list returned in [2]. It could still take the score into
account by limiting the returned set to mirror that are not totally out
of date, but I'd remove the sorting. The score doesn't really have a lot
a meaning anyways since it's just from our point of view.

Does anyone have hard feeling about this? If not I'll prepare a patch in
the next few days.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 858 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-dev-public/attachments/20170130/2f063ea3/attachment.asc>

More information about the arch-dev-public mailing list