Design: ride matching
The core idea
A ride-matching service takes a pickup request, finds eligible drivers, and turns a driver's acceptance into an assignment.
The map helps choose whom to ask.
In this lesson
- What the service must promise
- Candidate search and assignment have different jobs
- Choosing the closest driver is a policy
- Recording an offer
- Accepting an offer once
- Deadlines, movement and cancellation
- Delivering the decision to the apps
- The executable API and its boundaries
- Growing without creating two owners
- Run the race and recovery
Continue reading
Pro unlocks video lessons, visual walkthroughs, full notes, diagrams, case studies, and implementations across the System Design archive.