DoorDash has overhauled its real-time dispatch platform to meet increasing delivery volumes. The company replaced its previous monolithic optimization engine with a new distributed architecture. This change was driven by the limitations of the old system, which struggled with computationally intensive routing algorithms and quadratic time complexity as demand grew.
The prior dispatch engine combined business logic, logistics state management, and routing algorithms, leading to processing difficulties during high demand. Peak periods saw demand approaching four times the system's capacity, forcing reliance on fallback heuristics and incomplete information for assignment decisions. The core issue was not just machine capacity but the speed required for real-time dispatch decisions.
The redesigned platform features two independently scalable tiers. A stateful coordinator manages dispatch lifecycles, maintains global logistics state, and enforces business rules. Stateless compute workers handle mathematical optimization, vehicle-routing heuristics, and model inference. This separation allows for independent scaling of each component.
The coordinator distributes localized logistics data to workers using payload sharding over gRPC, avoiding the need to broadcast global state and reducing network overhead. Workers process their assigned optimization tasks in parallel. The system also uses hierarchical decomposition, partitioning logistics data into smaller geographic clusters and delivery trajectories for parallel processing by workers, with a reconciliation layer combining results.
This architectural shift has resulted in a 10-fold increase in throughput and sustained availability above 99.99% during peak times. The new platform also provides the infrastructure to integrate machine learning and reinforcement learning models directly into dispatch workflows, allowing for more sophisticated decision-making.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
DoorDash re-engineered its real-time dispatch platform, moving from a monolithic optimization engine to a distributed architecture. This redesign increased throughput by 10 times and maintained over 99.99% availability during peak demand, allowing for the integration of machine learning models into dispatch workflows.