No. 40 · Geospatial & marketplaces
Design driver dispatch for ride requests
OFF-SITE READING · OTHER PEOPLE’S WORK, OUR NOTES
Further reading
At least one vetted end-to-end walkthrough or mock interview is linked. Links go to other sites; we credit and describe them rather than copy them.
- Design a Ride-Sharing Service Like Uber
The best free walkthrough of matching: driver location ingest, proximity search, sending one offer at a time with a lock and TTL, and queueing requests at peak. Pricing and ETA are kept simple.
Link checked 2026-12-06
- Next-Generation Optimization for Dasher Dispatch at DoorDash
How DoorDash reframed dispatch as an optimisation over many orders and dashers at once, and swapped the solver in a tier-zero service. Great for the batched-matching follow-up; light on infra.
Link checked 2026-12-06 (the site blocks automated checks; confirmed manually)
- Matchmaking in Lyft Line, Part 1
Lyft explains pooling riders with overlapping routes, the matching window and why greedy matching was a starting point. Specific to shared rides.
Link checked 2026-12-06 (the site blocks automated checks; confirmed manually)
- H3: Uber's Hexagonal Hierarchical Spatial Index
Why Uber indexes supply and demand in hexagonal cells and how neighbours are found, which is the spatial half of dispatch. No assignment logic.
Link checked 2026-12-06 (the site blocks automated checks; confirmed manually)
- A dive into spatial search algorithms
Readable explanation of R-trees, k-d trees and k-nearest-neighbour search, so you can say why kNN beats a fixed radius. Algorithms only; ignores constantly moving points.
Link checked 2026-12-06 (the site blocks automated checks; confirmed manually)
- FAANG System Design Interview: Design A Location Based Service (Yelp, Google Places)
Covers geohash and quadtree trade-offs well, which carries over to finding candidate drivers. Built for static businesses, so updating moving drivers is not covered.
Link checked 2026-12-06
- Finding Nearby Friends: System Design Interview with a Facebook Engineer
Real mock with a Meta engineer on finding nearby moving users, including location update fan-out and feedback on the candidate. Proximity only; no assignment or acceptance flow.
Link checked 2026-12-06
Report a bad or misleading link
Reference audit: 3 of 4 links from the audited catalog kept
- systemdesignschool.io/problems/yelp/solution Off-target here: static business search via a search index, nothing on moving drivers or assignment. Kept under nearby-search.
We audited the public catalog at systemdesign.io on 2026-12-06. Dropped links are not linked here on purpose.
COMPANY EVIDENCE · NOT A FREQUENCY CLAIM
Where it has been reported
Catalog tags (unverified)
Meta (Facebook)UberGoogleMicrosoft
Assigned by the reference catalog (audited 2026-12-06). We have not verified that these companies ask this question.
KEEP GOING
Related practice and guides
From our Learn guides
- Pattern Geospatial indexing: turning "near me" into a lookup
- Pattern Reservations and contention: selling what you have, exactly once