Cursor's deep dive: why hosting Git repositories at scale is a nightmare
zainhas · x · 2026-08-21
Cursor published a 27-minute research post "Git at any scale" by engineer Vicent Martí.
The piece traces Git's origins: Linus Torvalds designed it to replace BitKeeper for Linux kernel development, and its distributed architecture fit the kernel's decentralized maintainer workflow. Twenty years later, Git is an industry standard, but its distributed nature is more a hindrance than an advantage — the average open-source project and virtually every company relies on a centralized host.
Hosting Git at scale turns out to be extremely hard: in a distributed design, every repository copy is identical, and the server-side copy is no different from one on a laptop. While putting an HTTP daemon in front of an on-disk repo looks like a working Git server, serious scalability and reliability challenges lurk — the article dives into these design-level problems and Cursor's engineering practice.
Related event: Cursor Details Its S3-Centric Architecture for Hosting Git at Scale(3 posts)→
More from Infra
- Large data centers employ only ~50-150 permanent on-site staff, Microsoft says — brezina · 2026-10-16
- Prediction: Opus 5.5-level models on laptops by 2027, backed by Qwen 27B data — cephaloform · 2026-10-16
- Oracle down 12% in a week, nearly 50% off June high as OpenAI exposure spooks market — alvelda · 2026-10-16
- US data center moratoriums top 400 — an AI bull explains why they're actually good for AI — kevinsxu · 2026-10-16
- Microsoft Research unveils Magnetar, the fastest zkVM at 10-39x speedups and post-quantum security — jedisct1 · 2026-10-16
- Bonsai 2 2B hits 120 tok/s on iPhone 18 Pro, outpaces Qwen 3.5 2B at half the memory — cephaloform · 2026-10-16