Problem
Build the driver-location and dispatch backend for a ride-hailing service: drivers continuously report their location every few seconds, and riders look up nearby available drivers and get matched to one, at a real-world scale of tens of millions of trips/day and roughly a million location pings/sec across thousands of cities. Design it from a blank canvas so a firehose of constantly-overwritten location pings never becomes your bottleneck at any stage from ingest through indexing, demand that's wildly uneven across cities doesn't overload any one piece of it, a match request completes end-to-end without one hidden slow stage dragging down the rest, and ride assignment lives somewhere that can't let two drivers get double-booked for the same trip.
Required components
Click to add a component to the canvas.
Additional components
Browse by category. Click or drag a component onto the canvas.