automated production resilience testing

Uber's production load-tester runs 28,000 failover tests across 650 services, finds 5,000+ capacity limits USENIX
TL;DW
  • Halloween 2020 Uber Eats outage: failover to healthy region overloaded it instead, requiring days to recover—proved failover drills must test at peak load.
  • Uber maintains N+1 regional redundancy but prior failover drills were operationally expensive, required coordinating hundreds of engineers, and couldn't test realistic load patterns.
  • Single-service traffic draining achieves 2x failover multiplier per region with far lower operational risk than full regional failover.
  • Built MuttLoader: automated PID controller-based system that ramps traffic to target CPU/latency/QPS in production, then soaks and aborts safely.
  • Pre-test eligibility validation filters services by capacity, traffic volatility, topology, and scalability linearity; production is the only viable failover test environment at scale.
  • Health monitoring aborts tests via queue latency (P99.9), application metrics, resource limits, and system conditions—catches degradation before on-call alerts fire.
  • Platform safeguards prevent MuttLoader bugs: rollout gates, staged promotion from low to high criticality services, and operation expirations prevent permanent load tests.
  • 28,000 tests across 650 services over 12 months found 5,000+ limits; reduced provisioning by 50,000 CPU cores, validating both resilience and cost efficiency.
  • Request queue latency is the leading indicator to monitor—rises before response latency spikes, enabling early abort before service overload and customer impact.
  • Stateful systems (databases), traffic volatility, continuous deployments, and multi-cloud hardware differences remain unsolved gaps requiring constant test adaptation.

After a 2020 regional database failure triggered a secondary outage during mitigation, Uber built an automated system that drains traffic from individual services in production using a PID controller, aborting on queue latency, error rates, or dependency signals. Over six years it eliminated secondary failover outages and reclaimed 50,000 over-provisioned CPU cores.