Why Google Stores Billions of Lines of Code in a Single Repository
What it is
Rachel Potvin describes the scale of Google's codebase and its custom monolithic source repository. She explains the reasons for the monorepo model, the tooling that makes it workable, and its tradeoffs.
Why Hacker News recommends it
The go-to reference in monorepo and trunk-based development discussions, recommended as a firsthand account of how Google manages source control.
- 2 people recommended it
- 3 different months
- 0 strong recommendations
- first 2016, last 2022
What HN commenters said
“There is a great talk about some of this by Rachel Potvin”
Rachel Potvin on Google's single-version third-party code policy
twotwotwo, 2016-07 · Recommendation · in “Go Packaging Proposal Process”
“I'd recommend this video that describes it.”
Describes Google's custom in-house source control
kyrra, 2017-01 · Recommendation · in “Trunk-Based Development”
Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.
Topics: monorepo, google, source control, trunk-based development, dev tools
Also recommended by the same people
talkGoogle Self-Driving Car Project | SXSW Interactive 2016SXSW · 2 HN recommenders · 2016–2018
comedyNest Protect is a terrible buggy productBrad Fitzpatrick · 2 HN recommenders · 2015–2025
talkRailsConf 2014 - All the Little Things by Sandi MetzConfreaks · 15 HN recommenders · 2015–2025
talk"Testing Distributed Systems w/ Deterministic Simulation" by Will WilsonStrange Loop Conference · 12 HN recommenders · 2014–2024
talk🚀 TDD, Where Did It All Go Wrong (Ian Cooper)DevTernity Conference · 11 HN recommenders · 2018–2024
talkBret Victor - Inventing on PrincipleRui Oliveira · 12 HN recommenders · 2013–2025
talkSolving Problems the Clojure Way - Rafal DittwaldClojure/north · 10 HN recommenders · 2019–2025
talkDebugging Under Fire: Keep your Head when Systems have Lost their Mind • Bryan Cantrill • GOTO 2017GOTO Conferences · 8 HN recommenders · 2018–2025