Scaling at GitHub
summary
GitHub runs ~35 million repositories and >1 billion git operations per day and targets sub‑1s git calls. To get there it speeds Git (using bitmaps to cut a Linux clone from about a minute to ~1–2s), limits and models cost per repo with gitMon to batch ~500 simultaneous fetches into ~40‑request waves, caches identical pack responses with Lariat to serve 11% of traffic cheaply, and replicates every repo three ways with DGit for automatic majority‑writes and self‑healing (60% rollout, ~100% gists).
AI-written summary · about
