Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • infrastructure infrastructure
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 119
    • Issues 119
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Admin message

Due to an influx of spam, we have had to temporarily disable account registrations. Please write an email to accountsupport@archlinux.org, with your desired username, if you want to get access. Sorry for the inconvenience.

  • Arch LinuxArch Linux
  • infrastructureinfrastructure
  • Issues
  • #101

Evaluate using a CDN / creating a "smart mirror"

The default mirror used by ex: archlinux-docker isn't fast for everyone (@lahwaacz can confirm).

Some of the big CDN players (ex: Cloudflare and Fastly) offers sponsorship for open-source project, maybe we should take advantage of it? We can either use it as a cache or setup a "smart mirror" which choose the closest mirror relative to the user (can be done with: CLoudflare Workers or Fastly Edge cloud platform)

https://cloudflaremirrors.com/ is also worth mentioning, it is very broken though (the files is sent without content-length and range requests isn't supported).

Self hosting options

GeoIP DNS

We run our own DNS server for pkgbuild.com with powerdns. Set up europe,america,asia to all become mirror.pkgbuild.com.

PowerDNS terraform provider

Pros:

  • We manage our own infra Downsides:
  • All mirrors need to use the same certificate
  • Running our own DNS server (with a subzone for mirror.pkgbuild.com)

Questions:

  • Can we still use terraform for DNS records with powerdns?
  • Can we use LE to hand out the same certificates for different mirrors?

SRV Record Mirrors and pacman

???

Edited Nov 16, 2021 by Jelle van der Waa
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking