hard

Design Uber Backend

Formulate the architecture for a ride-sharing platform akin to Uber, serving as an intermediary between passengers seeking transportation and drivers with available vehicles.

Suggested time: 45 minutes

Loading the workspace...

About this problem

A rider opens the app and sees 8 cars nearby. Within 3 seconds of tapping "Request," one is assigned. Behind that 3-second window: millions of GPS pings per minute, a spatial index queried on every request, and a matching algorithm that must never assign one driver to two riders simultaneously.

Key challenges the editorial covers

Learn from other designs

Related problems

Guides

Asked in these interview guides

Company guides that list this problem among their sample questions.