Scaling Git at Twitter
summary
Twitter runs a single monolithic repository (consolidated from three) to keep code, build tools and IDL-generated clients in sync, but faces millions of objects, slow git status and a ~13 megabyte refs list that hits file-descriptor limits and GC pain. Engineering work includes a faster index hash, a watchman file monitor for status, a bloom-filter header to avoid resending unchanged refs, and a journaled fetch replication system: pushes append pack files and ref records to journals, clients replay journals and update refs, which speeds fetches and mirroring but prevents redaction.
AI-written summary · about
