
ByteByteGo · 11 min readSoftware architecture
DoorDash Dispatch: Building a Lightning-Fast Delivery System
DoorDash rebuilt its dispatch platform by splitting coordination and heavy computation into separate scalable tiers, sharding payloads, and using hierarchical decomposition to keep optimization tractable. This redesign reduced latency and cost while handling rapidly changing delivery data, enabling faster, higher‑quality driver‑order assignments.
- Two‑tier architecture isolates state management from compute workers
- Localized payload sharding keeps workers stateless and reduces data transfer
- Hierarchical decomposition breaks the routing problem into geographic clusters