Skip to content
IJK

GitHub's Stated Design Principles for Git Storage

By IJK ·

The design principles GitHub's engineering posts state for their new Git storage architecture, the observation they build on, and which parts of the infrastructure they say can scale independently.

The two principles and the observation behind them

In our last post, we covered the bridge: moving 99.99999% of repositories into Azure, scoping the write quorum to individual references, and standing up virtual replicas backed by Azure Blob Storage. [1]

We also left off with an observation: very little of a write needs to be ordered. [2]

Git objects are immutable and named by their contents, meaning two writers can store them at the same time without agreeing on anything. [3]

The part of a push that needs agreement is the reference update, and a reference update is tiny in comparison. [4]

Storing Git objectsimmutable and named by contentsThe reference updatethe part of a push that needs agreement
Which part of a push does the post say needs agreement, and which part can happen without it?

What can scale independently

That lets the parts of Git infrastructure that used to be tightly coupled (storing data, serving requests, and maintaining repositories) scale independently. [5]

For developers, Git stays Git: they push, fetch, and branch the same way, with the same protections in place. [6]

Agentic software development is driving the next architectural shift. [7]

With developers and agents working concurrently in repositories that receive millions of commits a day, these workloads demand a different Git architecture. [8]

Why reads grow with writes

Each push leads to more reads: CI runs, deployment systems pull the new commit, and other agents fetch it for context. [9]

This read fan-out results in a large amplification effect on overall traffic that scales with writes. [10]

Sources

  1. The GitHub engineering post says: In our last post, we covered the bridge: moving 99.99999% of repositories into Azure, scoping the write quorum to individual references, and standing up virtual replicas backed by Azure Blob Storage. GitHub engineering: Git storage architecture
  2. The GitHub engineering post says: We also left off with an observation: very little of a write needs to be ordered. GitHub engineering: Git storage architecture
  3. The GitHub engineering post says: Git objects are immutable and named by their contents, meaning two writers can store them at the same time without agreeing on anything. GitHub engineering: Git storage architecture
  4. The GitHub engineering post says: The part of a push that needs agreement is the reference update, and a reference update is tiny in comparison. GitHub engineering: Git storage architecture
  5. The GitHub engineering post says: That lets the parts of Git infrastructure that used to be tightly coupled (storing data, serving requests, and maintaining repositories) scale independently. GitHub engineering: Git storage architecture
  6. The GitHub engineering post says: For developers, Git stays Git: they push, fetch, and branch the same way, with the same protections in place. GitHub engineering: Git storage architecture
  7. The GitHub engineering post says: Agentic software development is driving the next architectural shift. GitHub engineering: Git storage architecture
  8. The GitHub engineering post says: With developers and agents working concurrently in repositories that receive millions of commits a day, these workloads demand a different Git architecture. GitHub engineering: Git storage architecture
  9. The GitHub engineering post says: Each push leads to more reads: CI runs, deployment systems pull the new commit, and other agents fetch it for context. GitHub engineering: Git storage architecture
  10. The GitHub engineering post says: This read fan-out results in a large amplification effect on overall traffic that scales with writes. GitHub engineering: Git storage architecture

Editorial (AI-assisted; automatically checked, not human-reviewed). Each statement is linked to its source; check the source before relying on a detail.

  • git
  • storage
  • architecture
  • github