Skip to content
All interviews

Uber (ride matching)

Track a million moving drivers and match each ride request to a nearby free driver in about a second. The write path is a firehose of location pings; the correctness problem is never assigning one driver to two riders.

Notes and ratings save in this browser. Completing self-assessment records your progress.

45:00

Requirements checklist

Clarifying questions
  • How many drivers online, and how often do they ping?
  • Matching radius and time target?
  • Can a driver have pooled trips?
  • Is the system global or per city?

requirements

Suggested time: about 6 minutes. Failover unit and trip state machine.