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 31 · System Design · Zomato · about 25 min to read

Play it as a journeyTutor comes with a plan

Design a food delivery app, in the interview

Design Food Delivery in the Interview
Design Food Delivery 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. Four 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. Zomato, the case study is already read: it told the story of this exact system, with the kitchen’s clock, the rider held back on purpose, the batch and the five-way money split. The second half of this page is its interview cut. Design Uber, in the interview is the sibling round, and where an idea repeats from it (cells, the conditional write, the idempotency key) this page points back. Charged Twice (idempotency & exactly-once) gave you the retry that must not take money twice.

Lesson 113 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 clock that nobody owns
  • The meeting at the counter
  • One rider, two orders
  • One order, three screens
  • Five pockets, one charge
  • 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: prep time, ground truth, batching, state machine, ledger, idempotency key, Common mistakes, p99, zone, Customer, Restaurant, Dish, Order, Rider, Ledger entry, cell, mid-level, senior, staff, order stage, serviceable set.

Review System Design