The bridge to agent-scale Git infrastructure
Recorded: Oct. 21, 2026, 6:02 p.m.
| Original | Summarized |
The bridge to agent-scale Git infrastructure - The GitHub Blog Skip to content Skip to sidebar / Blog Changelog Try GitHub Copilot app Attend GitHub Universe AI & ML AI & MLLearn about artificial intelligence and machine learning across the GitHub ecosystem and the wider industry. Generative AILearn how to build with generative AI. How AI code generation worksExplore the capabilities and benefits of AI code generation and how it can improve your developer experience.Learn more Developer skills Developer skillsResources for developers to grow in their skills and careers. Application developmentInsights and best practices for building apps. Get started with GitHub documentationLearn how to start building, shipping, and maintaining software with GitHub.Learn more Engineering EngineeringGet an inside look at how we’re building the home for all developers. Architecture & optimizationDiscover how we deliver a performant and highly available experience across the GitHub platform. How we use GitHub to be more productive, collaborative, and secureOur engineering and security teams do some incredible work. Let’s take a look at how we use GitHub to be more productive, build collaboratively, and shift security left.Learn more Enterprise software Enterprise softwareExplore how to write, build, and deploy enterprise software at scale. AutomationAutomating your way to faster and more secure ships. GitHub recognized as a Leader in the Gartner® Magic Quadrant™ for AI Code AssistantsLearn why Gartner positioned GitHub as a Leader for the second year in a row.Learn more News & insights News & insightsKeep up with what’s new and notable from inside GitHub. Company newsAn inside look at news and product updates from GitHub. Unlocking the power of unstructured data with RAGLearn how to use retrieval-augmented generation (RAG) to capture more insights.Learn more Open Source Open SourceEverything open source on GitHub. GitThe latest Git updates. An introduction to innersourceOrganizations worldwide are incorporating open source methodologies into the way they build and ship their own software.Learn more Security SecurityStay up to date on everything security. Application securityApplication security, explained. The enterprise guide to AI-powered DevSecOpsLearn about core challenges in DevSecOps, and how you can start addressing them with AI and automation.Learn more
Search Categories BackAI & MLLearn about artificial intelligence and machine learning across the GitHub ecosystem and the wider industry. Generative AILearn how to build with generative AI. How AI code generation worksExplore the capabilities and benefits of AI code generation and how it can improve your developer experience.Learn more Developer skills BackDeveloper skillsResources for developers to grow in their skills and careers. Application developmentInsights and best practices for building apps. Get started with GitHub documentationLearn how to start building, shipping, and maintaining software with GitHub.Learn more Engineering BackEngineeringGet an inside look at how we’re building the home for all developers. Architecture & optimizationDiscover how we deliver a performant and highly available experience across the GitHub platform. How we use GitHub to be more productive, collaborative, and secureOur engineering and security teams do some incredible work. Let’s take a look at how we use GitHub to be more productive, build collaboratively, and shift security left.Learn more Enterprise software BackEnterprise softwareExplore how to write, build, and deploy enterprise software at scale. AutomationAutomating your way to faster and more secure ships. GitHub recognized as a Leader in the Gartner® Magic Quadrant™ for AI Code AssistantsLearn why Gartner positioned GitHub as a Leader for the second year in a row.Learn more News & insights BackNews & insightsKeep up with what’s new and notable from inside GitHub. Company newsAn inside look at news and product updates from GitHub. Unlocking the power of unstructured data with RAGLearn how to use retrieval-augmented generation (RAG) to capture more insights.Learn more Open Source BackOpen SourceEverything open source on GitHub. GitThe latest Git updates. An introduction to innersourceOrganizations worldwide are incorporating open source methodologies into the way they build and ship their own software.Learn more Security BackSecurityStay up to date on everything security. Application securityApplication security, explained. The enterprise guide to AI-powered DevSecOpsLearn about core challenges in DevSecOps, and how you can start addressing them with AI and automation.Learn more Changelog Attend GitHub Universe Try GitHub Copilot app Home / Engineering / Architecture & optimization The bridge to agent-scale Git infrastructure
Eleanor White & Victoria Dye October 21, 2026 | 8 minutes Share: Over the past year, while Git traffic grew exponentially, 99.99999% of the Git repositories on GitHub began living in two places at once: our own data centers and Azure. The rest are among the busiest on the platform, and they’re held back by just one thing: a 25ms round trip. Minimize coordination In this post, we’ll look at the immediate bridge between our old design and our new one. We’ll talk about how a change to the way our quorum serializes writes gets the busiest repositories into Azure, and how that same step opens the door to replicas that keep no persistent state of their own. No repository left behind These changes raise a repository’s write throughput ceiling roughly in proportion to how many references are being written at once, and get the last remaining repositories into Azure. In internal testing with realistic traffic, writes to different references consistently saw 3–4x higher throughput at lower latency. Virtual read replicas start out reconciling with object storage in the background, which makes them a good fit for some read workloads but not all of them. Serving every kind of read requires moving that reconciliation in-line, fetching only the reference state and data that changed since the replica last caught up. How can we push write throughput further? Tags: Git Infrastructure technical deep dive Written by Eleanor White @nellwhite Senior Software Engineer Victoria Dye @vdye Staff Software Engineer Git Infrastructure technical deep dive Table of Contents How we got here No repository left behind Scaling reads on their own What comes next More on GitBuilding Git infrastructure for agent-scale developmentWe’re rebuilding GitHub’s Git infrastructure while GitHub keeps running, creating a foundation for agent-scale software development. Brian Celenza Highlights from Git 2.56The open source Git project just released Git 2.56. Here is GitHub’s look at some of the most interesting features and changes introduced since last time. Elijah Newren
Related posts Staying Evergreen: How we automated secure access and repo hygiene in a shared org Put native GitHub features to work to review outside collaborator access and archive stale repositories. Greg Mohler From 2,500 requests to 24: Rebuilding star history without the stargazers Our new repo star history API now provides trends without returning individual identities or requiring unbounded database work. These are the engineering tradeoffs we made. Taylor Cuilty & Sarita Iyer Building Git infrastructure for agent-scale development We’re rebuilding GitHub’s Git infrastructure while GitHub keeps running, creating a foundation for agent-scale software development. Brian Celenza Explore more from GitHub Everything you need to master GitHub, all in one place. Go to Docs Build what’s next on GitHub, the place for anyone from anywhere to build anything. Start building Meet the companies and engineering teams that build with GitHub. Learn more Join us October 28-29 in San Francisco or online for GitHub Universe, our flagship developer event uniting people, agents, and the world’s code. Register now We do newsletters, tooDiscover tips, technical guides, and best practices in our biweekly newsletter just for devs. Your email address * Subscribe Yes please, I’d like GitHub and affiliates to use my information for personalized communications, targeted advertising and campaign effectiveness. See the GitHub Privacy Statement for more details. Subscribe Site-wide Links ProductFeaturesSecurityEnterpriseCustomer StoriesPricingResourcesPlatformDeveloper APIPartnersAtomElectronGitHub DesktopSupportDocsCommunity ForumTrainingStatusContactCompanyAboutBlogCareersPressShop © 2026 GitHub, Inc. Terms Privacy Manage Cookies Do not share my personal information LinkedIn icon GitHub on LinkedIn Instagram icon GitHub on Instagram YouTube icon GitHub on YouTube X icon GitHub on X TikTok icon GitHub on TikTok Twitch icon GitHub on Twitch GitHub icon GitHub’s organization on GitHub |
ecks inherent in cross-region replication. The migration was deliberately sequenced to prioritize data movement before evolving the underlying architecture, a decision driven by the agentic shift, exponential growth in Git traffic, and physical capacity constraints." Word count: 123 words. Paragraph 2: "At the core of this transition are two guiding principles: minimizing coordination and decoupling storage from compute. To bridge the old and new designs, GitHub introduced a shift from repository-wide serialization to per-reference serialization. Previously, the Spokes service used a quorum that required all healthy replicas to respond before committing a write, effectively serializing all operations on a repository. This approach forced the slowest replica to determine write latency and throughput, creating a significant bottleneck, especially when replicas were distributed across regions with high latency. By changing the quorum to operate on individual references rather than the entire repository, writes to different references can be processed concurrently. Since most repository writes target distinct references—such as branches pushed by developers or agents—this eliminates the single point of contention. As a result, write throughput ceilings increase in proportion to the number of concurrently written references, and the last remaining repositories can be safely migrated to Azure." Word count: 169 words. Paragraph 3: "To complete the migration of the remaining repositories, GitHub introduced a virtual write replica. This is a fully ephemeral node that acts as a bridge to Azure Blob Storage, a durable object store. The virtual replica coalesces multiple transactions on disjoint references into a single set of network I/Os, ensuring durability before writes are acknowledged. Although this adds a small latency to each write, per-reference serialization prevents it from becoming a throughput-limiting factor. The virtual replica also handles compaction, consolidating state updates and facilitating the synchronization of read replicas." Word count: 104 words. Paragraph 4: "A second critical advancement is the decoupling of read traffic from write operations. Traditional architecture forced reads and writes to compete for the same resources, limiting independent scaling. By making object storage a member of the quorum as a virtual replica, GitHub can now separate read and write paths. Read replicas are scaled independently, warming their caches from Azure Blob Storage and serving read traffic without joining the write quorum. This allows for greater in-memory caching for reads while writes are managed separately, unlocking significant read scale. Internal load testing demonstrated that virtual read replicas could absorb traffic beyond the limits of the original architecture." Word count: 126 words. Paragraph 5: "Despite these progressions, challenges remain. Virtual read replicas must reconcile their local state with object storage in the background, which is effective for some workloads but not all; serving diverse read types requires moving reconciliation inline to avoid fetching unnecessary reference states. Additionally, write throughput is still bounded by the quorum, which requires replicas to hold full copies of the repository. Future steps aim to further optimize write ordering by leveraging the immutability and naming of Git objects, which can be stored without consensus. This will involve rethinking where durable reference state resides, how compaction and garbage collection scale, and designing ordering mechanisms that do not introduce new bottlenecks. The article notes that agent traffic continues to grow, and each incremental step provides repositories with more headroom as they transition to Azure." Word count: 150 words. Paragraph 6: "The authors emphasize that Spokes, the core Git service, has evolved beyond its original quorum coordination role to become an intelligent routing and load balancing layer, a unified API handling over 100 billion operations daily, and a collection of sweepers managing repository placement, repair, and rebalancing. The vast majority of these capabilities are applicable to the new architecture, ensuring continuity. The next installment in the series will explore the end state, the specific improvements to write throughput, the second-order problems addressed, and the small consensus group that still exists within the stack." Word count: 106 words. Total: 123 + 169 + 104 + 126 + 150 + 106 = 780 words. Well within 1350. We can add a bit more detail if needed, but it's already thorough. Check for any missing key points: We covered the migration, per-reference serialization, virtual write replica, read decoupling, challenges, future steps, Spokes evolution. We also mentioned the principles. Good. We referenced authors sparingly: "authored by Eleanor White and Victoria Dye" at start, "The authors emphasize" later. That's two references, which is fine. No markdown, no special characters. We didn't include any external info. All good. Now, produce the final answer.</think>The bridge to agent-scale Git infrastructure, authored by Eleanor White and Victoria Dye, presents a detailed examination of GitHub’s transition from a traditional Git infrastructure to a new architecture capable of supporting agent-scale development. The article explains how GitHub has migrated the vast majority of its repository data to Azure, while the remaining repositories are being connected through a series of architectural modifications that address the bottlenecks inherent in cross-region replication. The migration was deliberately sequenced to prioritize data movement before evolving the underlying architecture, a decision driven by the agentic shift, exponential growth in Git traffic, and physical capacity constraints. At the core of this transition are two guiding principles: minimizing coordination and decoupling storage from compute. To bridge the old and new designs, GitHub introduced a shift from repository-wide serialization to per-reference serialization. Previously, the Spokes service used a quorum that required all healthy replicas to respond before committing a write, effectively serializing all operations on a repository. This approach forced the slowest replica to determine write latency and throughput, creating a significant bottleneck, especially when replicas were distributed across regions with high latency. By changing the quorum to operate on individual references rather than the entire repository, writes to different references can be processed concurrently. Since most repository writes target distinct references—such as branches pushed by developers or agents—this eliminates the single point of contention. As a result, write throughput ceilings increase in proportion to the number of concurrently written references, and the last remaining repositories can be safely migrated to Azure. To complete the migration of the remaining repositories, GitHub introduced a virtual write replica. This is a fully ephemeral node that acts as a bridge to Azure Blob Storage, a durable object store. The virtual replica coalesces multiple transactions on disjoint references into a single set of network I/Os, ensuring durability before writes are acknowledged. Although this adds a small latency to each write, per-reference serialization prevents it from becoming a throughput-limiting factor. The virtual replica also handles compaction, consolidating state updates and facilitating the synchronization of read replicas. A second critical advancement is the decoupling of read traffic from write operations. Traditional architecture forced reads and writes to compete for the same resources, limiting independent scaling. By making object storage a member of the quorum as a virtual replica, GitHub can now separate read and write paths. Read replicas are scaled independently, warming their caches from Azure Blob Storage and serving read traffic without joining the write quorum. This allows for greater in-memory caching for reads while writes are managed separately, unlocking significant read scale. Internal load testing demonstrated that virtual read replicas could absorb traffic beyond the limits of the original architecture. Despite these progressions, challenges remain. Virtual read replicas must reconcile their local state with object storage in the background, which is effective for some workloads but not all; serving diverse read types requires moving reconciliation inline to avoid fetching unnecessary reference states. Additionally, write throughput is still bounded by the quorum, which requires replicas to hold full copies of the repository. Future steps aim to further optimize write ordering by leveraging the immutability and naming of Git objects, which can be stored without consensus. This will involve rethinking where durable reference state resides, how compaction and garbage collection scale, and designing ordering mechanisms that do not introduce new bottlenecks. The article notes that agent traffic continues to grow, and each incremental step provides repositories with more headroom as they transition to Azure. The authors emphasize that Spokes, the core Git service, has evolved beyond its original quorum coordination role to become an intelligent routing and load balancing layer, a unified API handling over 100 billion operations daily, and a collection of sweepers managing repository placement, repair, and rebalancing. The vast majority of these capabilities are applicable to the new architecture, ensuring continuity. The next installment in the series will explore the end state, the specific improvements to write throughput, the second-order problems addressed, and the small consensus group that still exists within the stack. |