GitHub's new Git storage architecture github.blog · 211 points · 58 comments · H...
HN Best 30 @best30
GitHub's new Git storage architecture github.blog · 211 points · 58 comments · HN thread
TL;DR GitHub describes its new Git storage architecture, codenamed Rubicon, built so that many agents can push to one repository at once. In internal testing it handled 5,000 concurrent agents sending 7,200 pushes per second to a single repo while keeping read latency low. It is in limited private preview with a broader rollout planned for early next year.
- Only reference updates need coordination; Git objects are immutable and written to Azure Blob Storage without agreement between writers.
- A new Ref-CAS replicated log service stores references and the pack manifest, using compare-and-swap commits by quorum; it never holds object data.
- Reads start with a version check: an unchanged repository costs a single comparison, and Ref-CAS handles tens of thousands of reference operations per second.
- Virtual replicas are disposable compute with local disk as a cache; compaction runs on separate nodes that merge packs in shards, keeping pack count roughly flat as pushes grow.
- GitHub reports that a single repository's traffic grew about 4x between March and May, and the architecture targets at least two orders of magnitude more scale than today's busiest repos.
- Earlier designs were rejected: a single-blob write-ahead log topped out in the mid-hundreds of writes per second, and segmented blobs made reads slower.
Discussion The thread mixes admiration for the engineering with skepticism about the premise. Many commenters question why any repository would need thousands of pushes per second, suggesting agents are over-pushing or that the load reflects waste, and some link it to recent GitHub outages and Azure reliability. Others point to comparable prior work (Enroute, Cursor's Continuity, Anthropic's source control essay) and speculate about which repository prompted the work, with nixpkgs, a Shopify-style monolith, and the Windows monorepo all floated. The mood is skeptical and wry, with frequent jokes about the 'one more nine' and the cost of tokens.
- Thousands of pushes per second per repo is unnecessary and signals misuse (many): Several commenters argue agents should batch work locally and upstream PR-sized changes, and that GitHub should rate-limit rather than scale for it. They see high push rates as a symptom of poorly configured or vibe-coded agent workflows.
- Plausible given agent workloads and forks sharing storage (some): Others argue that large projects like the Linux kernel, forks sharing backend storage, and bots applying many small patches could generate this volume. They see the scale target as a reasonable forward-looking requirement.
- Git itself may be the wrong tool for agents (some): Some suggest agents need a different version control model, pointing to Anthropic's redesign essay, or argue that centralized systems like Perforce with exclusive locks suit large agent swarms better. Others reply that agents handle merge conflicts well, so locking is poor practice.
- Architecture is good planning but does not fix current outages (some): Commenters note the post focuses on future vertical scale, while the horizontal-scale techniques are carried over, so it likely will not address the recent incidents users are experiencing.
- Skepticism about Azure and GitHub reliability (a few): A few commenters cite Azure's reputation and internal turmoil reports, while others push back with uptime figures and note the shared Microsoft ownership.
Links from the comments
- Enroute post on scaling Git on S3, which a commenter says already did much of this
- Cursor's Continuity work on Git at scale, compared with GitHub's write throughput
- Anthropic essay rethinking source control from first principles for agent-scale work
- Repository a commenter linked while speculating about very large, busy repos
#git #githubInfrastructure #agents #distributedSystems #scalability #azure