When Partitioning Beats Sharing: Ephemeral MicroVMs for...
summary
Booking.com replaces shared‑kernel Docker runners with ephemeral KVM microVMs (Cloud Hypervisor, Podman) that boot a trimmed guest kernel and start in 1.4s startup, pin four vCPUs and NUMA placement, and run the same GitLab images unchanged. CFS throttling had frozen ~36% of CPU time (up to 42% in one mono‑repo); partitioning yields ~3× effective CI capacity, much lower p50/p99 latencies and ~12,000 CPU‑hours saved per month while adding per‑job Honeycomb telemetry and a stronger security boundary.
AI-written summary · about
chapters (19)
- 0:00Introduction and motivation
- 1:21Talk agenda overview
- 2:48Original Docker CI setup
- 4:54CFS throttling discovery
- 7:44Why builds use many threads
- 9:10Throttling impact data
- 10:14Amdahl's Law explained
- 11:16Why tuning wasn't enough
- 12:40Why microVMs for CI
- 15:52Hiron's Law and dependencies
- 17:21MicroVM job lifecycle
- 19:27Universal Scalability Law
- 20:49MicroVM startup optimization
- 22:57Benchmarking results
- 26:06Little's Law and efficiency
- 27:33Security benefits of microVMs
- 29:39Telemetry and observability
- 32:30Production lessons learned
- 36:23Key takeaways and conclusion
