Skip to content
StackDecode
System Design
20. System Design Case StudiesAnimated

Food Delivery Platform (DoorDash)

Orders, restaurants and couriers.

The idea

Order, dispatch and tracking services with real-time location updates.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

CustomerRestaurantOrder serviceDispatch/matchCourier appPayments
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

The customer places an order; payment is authorised.

step:
1/4
at:
Customer
1/12

The green dot is a request moving through the system.

Step by step

  1. 1Customer places an order
  2. 2Restaurant accepts
  3. 3Dispatch assigns a courier
  4. 4Track and deliver

Where it is used

Three-sided marketplaces.

Watch out for

Dispatch quality and peak-hour load.

Related