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 32 min to read

Watch: Zomato search: why who can reach you comes before search and rank
▶ VideoPlay it as a journeyTutor comes with a plan

Zomato, the case study

Everything
Everything · Open board

The whole set on one board. Every scene in this lesson is drawn somewhere in it.

Boards

Before you start. You should already have a picture of a two-sided marketplace app in your head: a customer requesting something, one nearby provider, a system matching them by location. This lesson adds a third side, a kitchen, whose finishing time nobody controls, and that one difference reshapes almost everything else in this set.

Lesson 112 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

  • 2008: a drawer of paper menus at a consulting firm in Delhi
  • 2015: Zomato starts delivering, and inherits a clock nobody owns
  • The number nobody could see: prep time, and the tap that makes it honest: ground truth
  • Waiting on purpose, and the two-kitchen trick: batching
  • A city cut into pieces: zone
  • The one order the whole set traces
  • The boards, one at a time
  • The numbers, worked

Terms it explains: prep time, ground truth, Batching, zone, zones, third active party, big searchable catalog, orders (state), restaurants and menus, users and addresses, rider locations, serviceable set, and, freshness, guarded event, preparing → ready, timeouts, idempotent transitions, optimistic concurrency, early, late.

Review System Design