Install our extension to search inside any video instantly.

How Uber serves 40 million reads per second

Added:
108 views15likes10:11awesome-codingOriginal Release: 2026-07-17

Uber solved database overload problems by implementing PID (Proportional-Integral-Derivative) controllers, originally developed in 1922 for ship steering, which provide smooth, adaptive traffic shedding based on system feedback rather than static thresholds. This approach replaced their earlier Codel algorithm and static rate limiting, achieving 80% more throughput under overload, 93% fewer coroutines during incidents, and reducing heap usage from 5-6GB to 1GB. The key insight is that effective overload management requires priority-aware, feedback-based control systems that can dynamically adjust rejection rates to prevent the thundering herd effect where brief spikes cascade into platform-wide failures.