RFC: Horizontally scaled Git pull mirrors for GNU Toolchain
Proposes horizontally scaled, read-only Git mirrors for the GNU Toolchain to alleviate bottlenecks on sourceware.org.
This RFC proposes implementing horizontally scaled, read-only Git mirrors for the GNU Toolchain, starting with glibc. The current single-host setup for Git read traffic has led to bottlenecks, impacting developer access and reliability. By offloading anonymous read traffic to mirrors, the project aims to improve availability and performance for clone and fetch operations, especially from geographically diverse locations or high-traffic CI/CD systems.
- proposer
Proposes horizontally scaled Git mirrors to address current bottlenecks and improve access to toolchain sources.
“This has resulted in a bottleneck at the host, that at times resulted in developers being unable to access sources due to IP deny lists, or the disabling of HTTPS [1] for secure access.”
In Details
This RFC addresses scalability issues with the current monolithic git.sourceware.org instance serving all read traffic for projects like glibc and binutils-gdb. It suggests a horizontally scaled mirror system to improve availability and performance, especially for anonymous Git operations (clones, fetches) which are CPU/IO intensive due to git-upload-pack.
- GNU Toolchain
- A collection of programming tools developed by the GNU Project, essential for software development, including compilers (GCC), assemblers, linkers (Binutils), and debuggers (GDB).
- Git
- A distributed version control system used for tracking changes in source code.
- Mirror
- A copy of a repository or server that provides redundancy and can distribute load.
- RFC
- Request For Comments, a document or process used to solicit feedback on a proposed change or idea.
- git-upload-pack
- A Git server-side process that handles 'git fetch' and 'git pull' operations, responsible for packaging objects to be sent to the client.