Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 28 · System Design · Uber · about 25 min to read

Play it as a journeyTutor comes with a plan

Design Uber, in the interview

Design Uber in the Interview
Design Uber in the Interview · Open board

The design growing one requirement at a time, each step’s new boxes dark and numbered, the earlier ones grey.

Before you start. Three lessons are borrowed. Design the Whole Thing (the interview, assembled) gave you the steps of a design answer: ask, estimate, API, data, design, bottlenecks, with nothing on the whiteboard until a number pays for it. Uber, the case study told the story of this exact system: the tiles, the reservation, surge, the trip’s stages and the charge. The second half of this page is its interview cut. Charged Twice (idempotency & exactly-once) gave you the retry that must not take money twice. This lesson is how to say it all in forty-five minutes.

Lesson 107 of 115 in System Design

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • A cold night in Paris, and one question
  • The wall map with the trays
  • Two kinds of right
  • The driver who is promised twice
  • A ride that survives its own phone
  • The charge that cannot tell if it happened
  • Requirements
  • Out of scope, said out loud
  • Targets
  • Estimates that change the design
  • Entities and API
  • Storage
  • The design, one requirement at a time
  • Deep dives
  • What each level adds
  • The follow-up
  • More follow-ups
  • How to say it in the round

Terms it explains: cell, geo index, reservation, lease, state machine, idempotency key, Common mistakes, p99, Rider, Driver, Trip, Payment, time to live, mid-level, senior, staff, API gateway, compare-and-set, push channel, surge.

Review System Design