Add GeoIP domain for our sponsored mirros
We had a GeoIP mirror in the past based on nginx and its GeoIP module, but it didn't perform very well, due to the high latency (asking a central server for the package and then redirected to the closest mirror). One of the reasons for offering this service, is so we can relieve mirror.pkgbuild.com which is burning a ton of traffic (50TB/month), likely due to it being the default mirror in our Docker image. Another reason is so we can offer a link to our arch-boxes images in libosinfo (used by gnome-boxes, virt-install and virt-manager), with good enough performance for most users. This time we take a different approach and use a DNS based solution, which means the latency penalty is only paid once (the first DNS request). The downside is that the mirrors must have a valid certificate for the same domain name, which makes using third-party mirrors a challenge. So for now, we are just using the sponsored mirorrs controlled by the DevOps team. Fix #101
parent
0e56211e
No related branches found
No related tags found
Showing
- docs/servers.md 1 addition, 0 deletionsdocs/servers.md
- group_vars/mirrors/misc.yml 1 addition, 0 deletionsgroup_vars/mirrors/misc.yml
- group_vars/mirrors/vault_certbot.yml 18 additions, 0 deletionsgroup_vars/mirrors/vault_certbot.yml
- hosts 5 additions, 0 deletionshosts
- playbooks/mirrors.yml 2 additions, 1 deletionplaybooks/mirrors.yml
- roles/certbot/defaults/main.yml 2 additions, 0 deletionsroles/certbot/defaults/main.yml
- roles/certbot/tasks/main.yml 5 additions, 1 deletionroles/certbot/tasks/main.yml
- roles/certbot/templates/rfc2136.ini.j2 4 additions, 0 deletionsroles/certbot/templates/rfc2136.ini.j2
- roles/certificate/defaults/main.yml 1 addition, 0 deletionsroles/certificate/defaults/main.yml
- roles/certificate/tasks/main.yml 8 additions, 1 deletionroles/certificate/tasks/main.yml
- roles/geomirror/handlers/main.yml 3 additions, 0 deletionsroles/geomirror/handlers/main.yml
- roles/geomirror/meta/main.yml 3 additions, 0 deletionsroles/geomirror/meta/main.yml
- roles/geomirror/tasks/main.yml 44 additions, 0 deletionsroles/geomirror/tasks/main.yml
- roles/geomirror/templates/dnsupdate-policy.lua.j2 37 additions, 0 deletionsroles/geomirror/templates/dnsupdate-policy.lua.j2
- roles/geomirror/templates/geo.yml.j2 26 additions, 0 deletionsroles/geomirror/templates/geo.yml.j2
- roles/geomirror/templates/pdns.conf.j2 12 additions, 0 deletionsroles/geomirror/templates/pdns.conf.j2
- roles/prometheus/templates/prometheus.yml.j2 6 additions, 0 deletionsroles/prometheus/templates/prometheus.yml.j2
- roles/syncrepo/tasks/main.yml 13 additions, 2 deletionsroles/syncrepo/tasks/main.yml
- roles/syncrepo/templates/nginx.d.conf.j2 9 additions, 7 deletionsroles/syncrepo/templates/nginx.d.conf.j2
- tf-stage1/archlinux.tf 7 additions, 0 deletionstf-stage1/archlinux.tf
Loading