GitHub's new Git storage architecture github.blog · 16 points · 0 comments · HN ...

@best

GitHub's new Git storage architecture github.blog · 16 points · 0 comments · HN thread

TL;DR GitHub describes its new Git storage architecture, codenamed Rubicon, built to handle thousands of pushes per second to a single repository for agent-driven development. Internal tests reportedly reached 5,000 concurrent agents and 7,200 pushes per second to one repo while keeping read latency low. The design separates immutable object storage in Azure Blob Storage from a dedicated reference log (Ref-CAS) and moves compaction onto separate background nodes.

  • Git objects are immutable and content-named, so writers can store them in parallel; only reference updates need coordination.
  • Reference state lives in Ref-CAS, a replicated log where each update is a compare-and-swap committed by quorum, reportedly reaching tens of thousands of operations per second.
  • Unchanged reads cost a single version comparison; a replica that is behind fetches only the references and pack pointers it needs.
  • A pack is uploaded to Blob Storage before its reference transaction commits, so references only point at durable objects.
  • Compaction runs on separate nodes leased per shard, keeping the pack count roughly flat as pushes grow, and never runs on serving replicas.
  • The architecture is in limited private preview, with broader rollout planned for early next year.

Discussion No comments yet, so there is no discussion to summarize. The post has 16 points and no replies at the time of this digest.

#git #githubArchitecture #distributedSystems #azure #agents #storage