GUS26 and jj mini-con recap

This year has not been short of successful events for the Gerrit Community with the oversubscribed GerritMeets in Munich and the one in Sunnyvale earlier in the year, but the User Summit, co-located with the jj mini-con, really did beat every expectation. With over 70 industry experts and practitioners from companies like Google, Nvidia, Qualcomm, HRT, LibreOffice, and of course GerritForge, it felt like a great gathering of minds—particularly focused on how to scale and evolve code review for the AI era. It was of course a pleasure to be hosted again by Google in the Bay, 10 years after the last Google-hosted event.

What’s new in Gerrit 3.15

The event opened with the usual Keynote by our CEO, Gerrit Maintainer, Release Manager, and member of the ESC, Luca. Gerrit 3.15 promises to be an amazing release with “hard to believe” performance improvements, especially in the rendering speed of various user journeys on the UI. It also massively improves resource utilisation with the jump to Java 25 and its UseCompactObjectHeaders Java option support.

Then there are the various native AI features coming to Gerrit—in particular, the new icons to better identify which votes or comments were posted by an agent versus an actual person. After the talk, there was a lot of conversation around how to better give permissions to one’s agents that substantially differ from the actual person themselves! Expect to see more on this topic soon as the community decides which approach to take.

And how can we forget the live demo, where Luca switched LIVE the JGit repo to the reftable ref storage system, giving more than a few people in the room a minor heart attack, I’m sure.

Finally, a note on Gerrit 3.15’s contribution chart: we saw an increase in both core Gerrit commits as well as plugin contributions, and for the first time GerritForge contributed more than anyone else, including Google! Congrats to the team (and myself, I guess!).

On the topic of AI, another interesting talk was the one on task quotas by Nvidia’s Adithya! Adithya, a recent addition to the Maintainers group, covered some very interesting extensions they’ve added to core Gerrit (that complement the Quota plugin well, IMHO) that give incredible power to the Gerrit admin to limit how much work can happen in parallel for a given set of users. This alleviates a concern shared by many at the conference (and elsewhere) about how to limit agents from essentially DDoSing your Gerrit system. Adithya explored some clever solutions to this problem that I’m sure many will find useful.

Agents, Gerrit and Zuul — What a time to be alive

Still on the topic of agent interactions with Gerrit, Monty, one of the co-founders of OpenStack and Zuul and a huge personality in the DevOps world, gave a great presentation that hit the nail on the head in quite a few different ways. In particular, two points gave everyone some food for thought: treating agents like you’d treat an unknown committer in an open-source project (with the difference that you have more agency over the agent), and treating agents a bit like your secretary—trust them to do work for you, but don’t give them your credentials (“that’d be crazy!!”, as Monty put it).

His historical context about how Zuul came to be over 10 years ago to solve much of the same huge-scale challenges we’re trying to solve nowadays was extremely interesting and made me realise how AI isn’t really reinventing how we deliver software, but rather requires further scaling of already known and well-proven methodologies.

Tracking metadata in Git

It was also great to have Patrick Hiesel, Staff Software Engineer at Google and longtime Gerrit maintainer, back at a Gerrit event and back in the version control space—in particular, Google’s new VCS, jj. He gave some great hindsight into how Gerrit’s NoteDB came to be, how tracking metadata as part of the Git history makes a huge amount of sense, and how it allows that metadata to move around right along with the code.

Cloud-JJ

Daniel, Engineering Manager for the jj team at Google, presented cloud-jj, which was also extremely interesting and something that I’ll be keeping an eye on! There is a huge amount of buzz around jj as a tool and in the jj community about its workflow improvements over Git—it’s really exciting to see. Daniel’s team is working on providing an open-source commit cloud that allows companies to operate at Google scale. It’s great to see Google still committed to the open-source ecosystem with great tools and thought leadership, and I’m very excited to see how the project evolves over the coming months and years!

JGit Cassandra

Luca, who felt a bit lazy this time round and only gave three presentations, also talked about the resurgence of JGit-cassandra. Shawn Pearce provided a first trivial implementation 16 years ago which I believe we can all agree was definitely ahead of its time. Luca instead decided to review a prototype he and Haithem worked on at the Gerrit Hackathon in Mountain View over 10 years ago and that can be found at [1]. JGit has had the ability to inject different object storages since its very inception, and that’s exactly the way Google has been using it at the huge scale they operate at all these years; however, outside of Google, concrete implementations of other backends have never really made it to production, mainly because of a lack of need for it.

Of course, the advent of AI changed all of this, and with companies trying to grapple with the huge loads being put on their SCM systems, it was only natural that such solutions would come back alive! Luca showcased how the JGit Cassandra backend, despite still being a prototype version, could resolve many of the issues faced by modern installations—providing huge scale and delegating replication of the Git data to an external system, potentially simplifying Gerrit installations around the world. If you’re interested in seeing it in action on your system, you should hit him up!

Large object promisor support in Git

It was an honour having Christian Couder from GitLab present at the User Summit this year. This was particularly important for me as we love to have people from other forges participate at the Gerrit User Summit—last year we had Patrick Steinhardt, lead of GitLab’s Git team, so hopefully this is the start of a good tradition! Christian presented the latest iteration of supporting large objects in Git with large object promisors, which helps resolve a longstanding pain point in the Git world: Git LFS! Thanks to these promisors, we can more efficiently manage how large objects are handled on the Git side, removing some of the friction points inherent to Git LFS. I’m looking forward to seeing how these evolve in the years to come!

Sustaining Git Performance at High Speed

Lastly—and I’ll cut it here as I’ve gone on long enough already—Shane’s presentation was, as usual, one of the most engaging of the event! Shane is an Associate Professor at the University of Waterloo and one of the most important researchers in the field of software development worldwide. He’s been collaborating with the GerritForge team for quite a few years now, and this time he presented the work we’ve been doing on ensuring Git operations stay performant even under the heaviest of AI loads!

I found particularly interesting the graph showing how, when using GHS [optional: spell out acronym here], all the other parts that comprise a Git Fetch/Clone operation stay incredibly constant and effectively the entirety of the clone time is spent writing the objects over the network! In a test that we did in a real production environment with one of our customers, we were able to obtain over 30x performance improvements, vastly exceeding even the numbers that Anthropic claim broke Git for them! Using AI agents to optimise Git usage for other agents—I love the symbolism here!

There are honestly so many really interesting talks I could talk about, but this is already far too long, like Tony’s talk on the sticky owners and what ownership means in the age of AI, Ponch’s talk on how to improve Gerrit performances by over 100% with a set of relatively minor tweaks and Kaushik’s improvement to the replication plugin!

All in all, it was a great user summit, one that I’ll remember for a while and that certified how code storage and review is definitely evolving, but it’s also here to stay. The classic SCMs are still the defaults of course, but everyone is re-evaluating their options for the AI era and Gerrit is definitely getting its fair share of attention.

[1] https://github.com/GerritForge/jgit-cassandra

30,000 Merges a Day Isn’t the End of Git: Scaling Version Control Without Reinventing the Wheel

TL;DR: Git doesn’t break at 30,000 merges a day; outdated techniques do. GHS (Git-at-High-Speed) answers AI-driven load with AI itself, using adaptive techniques to keep repositories performing at their best. Aided by GHS, standard Git sustained 240,000 commits in 18 hours on a live production repository: eight times Anthropic’s daily figure, in three-quarters of the time. And Git itself keeps pushing the envelope, with pluggable storage backends pioneered in JGit and now coming to CGit.

First, credit where it’s due: Anthropic’s claim that they built Scion, their custom server-side version control engine, together with Antique, their code review tool – and, I imagine, a nod to Critique, Google’s code review tool – and migrated their entire monorepo onto them in five months—with a team of seven is a remarkable engineering achievement, and a sign of the exciting times we are living in.

However, the headlining justification for the move caught the attention of systems engineers everywhere: Git simply couldn’t handle 30,000 merges per day. For a team like ours, who has been in the trenches scaling the biggest Git installations in the world for over a decade, something didn’t sound right, we know for a fact that our customers go well beyond such numbers, so we had to take a closer look.

At first glance, 30,000 merges in a 24-hour window sounds staggering. It translates to roughly 0.35 merges per second, non-stop, day and night. To anyone outside the source-control world, that feels like an insurmountable wall. Yet large enterprises have been operating at these volumes for quite some time: busy repositories with thousands of engineers and fleets of CI bots have been pushing Git servers this hard for years.

What has changed is who gets there. In the era of AI-driven software development—where tools like Claude Code and autonomous agents generate, test, and commit hundreds of granular changes per minute—30,000 write operations a day is no longer reserved for the largest engineering organisations. Even much smaller companies can now hit these numbers, and they are quickly becoming the new baseline for machine-driven codebases.

The real question isn’t whether 30,000 merges a day is a massive workload. The question is: Is this an architectural failure of the Git data model, or is it an infrastructure and scheduling bottleneck?

History—and modern high-speed Git server architecture—suggests it’s the latter.

A History of Scaling Version Control

Before concluding that Git requires a ground-up replacement at high write frequencies, it helps to look at how tech giants have handled massive version control throughput over the last decade:

Microsoft & Windows Mono-Repo: Microsoft scaled Git to hold the world’s largest single code repository (the Windows codebase: 3.5M files, 300GB+ object database). Through VFS for Git (now Scalar), they proved that Git’s client-side bottlenecks—like tracking working directory status across millions of files—could be virtualized without altering the underlying Git Directed Acyclic Graph (DAG).

Google & Meta: Google built Piper, paired with its Critique code review tool—much like Anthropic paired Scion with Antique—while Meta developed Sapling/Mononoke. Both chose custom backends to tackle monorepo scale (billions of files, thousands of engineers checking out subsets of the tree), the same problem Scion sets out to solve.

High-Frequency Bot Pipelines: Large enterprises have long run CI/CD systems that execute tens of thousands of automated merges, rebases, and bot-driven integration events every day. We have proven that installations built on Gerrit Code Review and Zuul can far exceed these numbers, easily reaching in the hundreds of thousands operations per day.

30,000 merges a day is not uncharted territory. So why did Git break for Anthropic?

To understand why standard Git server installations fail under heavy agent-driven workloads, you have to look at what happens under the hood when thousands of concurrent merges hit a central repository.

As mentioned in our GHS performance analysis, every push or fetch makes Git walk the commit graph to count the objects it needs (Counting) and scan existing packfiles for objects it can reuse (Search-For-Reuse, or SFR). As continuous merges pile up packfiles and loose objects, both phases slow down. When uncoordinated git gc runs finally kick in to clean up, they compete with incoming traffic for CPU, I/O, and locks, until the server’s thread pool is exhausted.

The Saw-Tooth Latency Trap

In default Git server configurations, every push lands as a new packfile or a batch of loose objects, so high-frequency writes quickly generate thousands of them. To keep read operations fast, Git relies on periodic Garbage Collection (git gc) to combine packfiles, generate commit-graph indexes, and recompute reachability bitmaps. The catch is that the cost of gc grows with the size of the repository, not with the size of the latest change: the bigger and busier the repository, the more expensive each run becomes, and the less time is left between runs to serve users.

Under continuous load

Packfile Fragmentation: As thousands of small merges land, object lookup degrades because Git must scan across hundreds of un-indexed packfiles.

Search-For-Reuse (SFR) Inflation: During fetch/pack creation, Git spends exponential CPU cycles searching for existing deltas across fragmented storage.

The GC Spike: When git gc finally triggers, it consumes massive I/O and CPU, locking refs and causing severe latency spikes for incoming writes.

This creates a saw-tooth performance curve: write latency is low initially, spikes catastrophically during maintenance, and eventually leads to thread pool exhaustion and timeout cascades.

Progress has certainly been made over the years: incremental and geometric repacking, multi-pack indexes, multi-pack bitmaps, all reduce how much work each maintenance cycle has to do. But the problem is far from solved, as the recent GitHub outages highlight.

GHS: Optimizing Git Instead of Replacing It

Rather than throwing away twenty years of developer ecosystem compatibility, we can fix how Git repositories are maintained at scale.

This is precisely what we set out to prove with GHS (Git-at-High-Speed). In our
performance analysis on GitEnterprise, we showed how a new, adaptive approach to repository maintenance can help Git sustain the load generated by write-heavy, agent-driven workloads. And this is not just a lab result: on a huge production repository, on a live system, the very same Git SCM, aided by GHS sustained 240,000 commits in 18 hours while also serving a proportional amount of clones and fetches.

How GHS Eliminates the Bottleneck

Adaptive Maintenance: Instead of waiting for loose objects to accumulate and running a heavy global git gc, GHS uses adaptive AI techniques to ensure the repository always performs at its best.

Stable Latency Under Pressure: In 12-hour stress tests with 210 concurrent clients mixing developer pushes, CI clones, and CI fetches, Counting and SFR times under GHS stayed mostly below 500 ms, hovering in the 5–50 ms range for long stretches. Under the same workload, a repository with no maintenance, or with git gc scheduled every 15 minutes, climbed to hundreds and even thousands of seconds.

When you eliminate maintenance spikes, Git is fully capable of ingesting high-frequency commits without degrading performance or locking branches.

The Hidden Cost of Abandoning Git

Building a custom proprietary filesystem like Scion solves an immediate internal pain point, but it introduces major long-term engineering trade-offs:

Ecosystem Isolation: Discarding Git means losing native integration with thousands of mature developer tools—IDE integrations, diff/merge algorithms, static analysis engines, security scanners, and CI/CD runners.

Developer Friction: Engineers working with custom filesystems must learn non-standard workflows and CLI primitives, increasing onboarding friction and cognitive load.

Infrastructure Lock-In: A custom version control system becomes a massive maintenance burden for internal platform teams, who must now maintain custom backends, replication protocols, and backup systems indefinitely.

Conclusion: Pragmatism in the Age of AI Coders

As AI agents continue to generate code at machine speed, software infrastructure
will undoubtedly face unprecedented stress. But rushing to replace a foundational
tool like Git often treats a solvable performance problem as if Git itself were the wrong design.

That doesn’t mean Git is finished evolving. JGit started down the path of
pluggable storage backends about ten years ago, with an implementation on top of
Cassandra that was definitely ahead of its time, and that Luca Milanesio will
revisit at the upcoming Gerrit User Summit, so stay tuned. CGit is moving in this direction too: Patrick Steinhardt walked through the upstream effort to make Git’s storage layer pluggable in his Git Merge talk, Rebuilding Git. These backends evolve Git from within, keeping its protocol, tooling, and ecosystem intact.

With intelligent scheduling, modern storage layouts, and proactive maintenance
engines like GHS, Git can easily scale to handle the demands of automated agent
workflows—all while preserving the open, interoperable ecosystem that software
development relies on.