On 26.01.2020 17.40, Yunxiang Li wrote:
https://wiki.archlinux.org/index.php/Pacman/Tips_and_tricks#Network_shared_pacman_cache

I'm aware of that. https://wiki.archlinux.org/index.php/Pacman/Tips_and_tricks#Dynamic_reverse_proxy_cache_using_nginx is more or less the idea.

The idea is basically to mirror the packages when requested, instead of mirroring everything upfront. Is Arch Linux interested is that kind of mirrors?

On January 26, 2020 4:19:10 PM UTC, Kristian Klausen via arch-mirrors 
<arch-mirrors@archlinux.org> wrote:
Hi

I'm considering setting up a Arch Linux mirror and I'm considering a
different design.

So instead of mirroring the whole thing, the idea is to mirror only the
database files (core.db etc) and download the packages on demand from a
Tier 1 mirror (and let nginx cache them). By doing it that way, I only
download requested packages from the Tier 1 mirrors, instead of
downloading the whole thing (saving Tier 1 bandwidth).

To provide even better performance a CDN (ex: Cloudflare) could be used
to provide more caching. So we end up with a setup like this:
Cloudflare -> Nginx cache -> Tier1 mirrors (nginx with multiple upstream)

Do I miss something? Is this a bad idea?
If I do setup a mirror like that, is there any chance it could be added
as a official mirror?

Best regards
Kristian Klausen

Reply via email to