Skip to content
GitLab
Projects Groups 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
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 107
    • Issues 107
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Arch LinuxArch Linux
  • infrastructureinfrastructure
  • Issues
  • #101
Closed
Open
Issue created Aug 22, 2020 by Kristian Klausen@klausenbusk🎉Developer

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