Why GitHub is changing its storage system
GitHub believes that agents are changing the nature of repository workloads: instead of short bursts of activity, prolonged streams of parallel changes may become increasingly common. Each push also triggers additional reads — for example, by CI, deployment systems, and other agents that need the new data. As a result, an increase in writes can significantly increase overall traffic. The company sees scaling in two directions. Horizontal scaling means supporting more developers and agents across different repositories; for this, GitHub is retaining previously proven methods for distributing load and isolating clients. Vertical scaling means increasing the load on a single repository. This is the key scenario for the new architecture: the company expects individual repositories to grow larger and become more active. According to GitHub, the system should be designed to handle at least a hundredfold increase in scale compared with previous targets. The goal is not only to increase throughput, but also to limit push latency, preserve the order of changes for each Git ref, and serve reads quickly when the repository state has not changed.
How writes and reads work
Requests from Git clients, the API, and the web interface still go to Spokes. This component handles routing, load balancing, and the internal interface for reading and writing repository data. It also retains responsibility for placement tasks and distributing load among clients. The new part in Rubicon is the layer below it. Spokes routes a request to one of the virtual replicas assigned to the repository. These are compute nodes that can serve reads, writes, or both. Their local disks are used as a recoverable cache, and correctness does not depend on which particular replica processes a request. If a node becomes unavailable, the others continue working; a replacement gradually fills its cache as requests come in. Virtual replicas can be added for a heavily loaded repository. On a push, a virtual replica indexes the incoming pack and uploads it to Blob Storage. It then sends a single transaction to Ref-CAS: the transaction adds the pack to the manifest and updates the refs. When serving a read, the replica checks the ref version against Ref-CAS, loads the required packs into the cache if necessary, and responds to the request. If the version has not changed, the check can avoid retransmitting the refs.
Repository maintenance moved to the background
Each push adds a new pack to storage. As the number of packs grows, some search operations become more expensive, so the packs need to be consolidated. In the previous architecture, compaction ran on the same replicas that served requests. In Rubicon, separate nodes handle this work: they operate in the background directly on durable storage without using the compute resources of the virtual replicas. Compaction nodes obtain a lease for part of a repository’s data, so only one node processes a given segment at a time. They track the manifest and collect new packs in an open segment; when it reaches a specified threshold in pack count, size, or age, they close it to new data. GitHub also says that background maintenance consolidates packs and removes unreachable objects. This separation allows compute capacity for reads and writes to be added independently from capacity for data maintenance. According to the company, it also helps reduce the impact of an individual node failure and speed up recovery. The published post does not provide details about the subsequent processing stages for a closed segment.
What Git users will notice
Despite the changes inside the platform, GitHub says that developers’ familiar Git operations remain the same: they continue to push and fetch changes, and create branches. The company also specifically notes that existing safeguards remain in place. The post presents Rubicon as an architecture that GitHub is building beneath its operating platform, not as a change to the user protocol or the way repositories are used. The figures provided are from internal tests: GitHub reports testing 5,000 agents working in parallel and 7,200 pushes per second to a single repository while maintaining low read latency. This does not mean that this load is available to every repository or that the company guarantees the same performance in every scenario. The post describes the system’s goals and design, but does not give a timeline for its full rollout or provide results for Rubicon’s operation across all GitHub repositories.