Uber: Rush Hour
Hard · system design problem
A poison message stalls ride matching, then rush hour doubles traffic.
36k drivers stream GPS pings every 4 seconds while 300k riders watch their car approach; the location service indexes them in Redis (GEO) and publishes them to Kafka where matching workers pair riders with drivers and write trips to Postgres. The trips service autoscales on CPU. It's 5:45pm on a Friday.
Topics
More
Codelays runs in your browser: turn on JavaScript to use it.