# DoorDash Scales Dispatch 10x While Maintaining 99.99% Peak Availability

> Source: <https://www.infoq.com/news/2026/11/doordash-dispatch-redesign/?utm_campaign=infoq_content&utm_source=infoq&utm_medium=feed&utm_term=global>
> Published: 2026-11-25 14:44:00+00:00

**Recommendation:** Before cutting over a rewritten dispatch or inference system, duplicate production requests through shadow testing, confirm parity on quality and latency, then roll out with switchback experiments and fallback to the legacy path.
More in the playbook "Running AI in production": <https://wpnews.pro/playbooks/production-ops>

DoorDash has [rebuilt its real-time dispatch platform to handle growing delivery demand](https://careersatdoordash.com/blog/how-doordash-built-a-next-generation-real-time-dispatch-platform/), replacing a monolithic optimization engine with a distributed architecture that separates coordination from computation. The redesign delivers 10 times higher throughput and more than 99.99% availability during peak periods, while enabling the company to run machine learning and reinforcement learning models within dispatch workflows.

The previous dispatch engine tightly coupled business logic, logistics state management, and computationally intensive routing algorithms. As delivery volume increased, its optimization workload became increasingly difficult to process within the time available for dispatch decisions. The underlying algorithms had roughly quadratic time complexity, and during peak periods, demand approached four times the system's processing capacity. The engine consequently relied on fallback heuristics and sometimes made assignment decisions using incomplete information.

As the DoorDash engineering team explained:

The fatal bottleneck wasn't just raw machine capacity; it was the speed of reality.

Rather than address the bottleneck through conventional horizontal scaling, DoorDash redesigned the execution model around two independently scalable tiers. The engineering team described the motivation:

To scale into the future, the system didn't just need more capacity; it demanded a fundamentally new execution model.

The new platform separates execution into two independently scalable tiers. A stateful coordinator manages dispatch lifecycles, maintains global logistics state, and validates business rules. Stateless compute workers handle mathematical optimization, vehicle-routing heuristics, and model inference.

The coordinator distributes localized portions of logistics data to workers using payload sharding over [gRPC](https://grpc.io/). This avoids broadcasting the entire global state to every worker and reduces network overhead. Workers process their assigned optimization tasks independently, while the coordinator manages orchestration and result aggregation.

*Evolution from DoorDash's monolithic dispatch engine to its distributed architecture (Source: [DoorDash Blog Post](https://careersatdoordash.com/blog/how-doordash-built-a-next-generation-real-time-dispatch-platform/))*

The redesign addresses computational complexity through hierarchical decomposition. Rather than solving one global optimization problem, the coordinator partitions logistics data into geographic clusters and delivery trajectories. Workers process smaller problems in parallel, and a reconciliation layer combines results across partitions.

DoorDash used shadow testing before directing live dispatch decisions to the new platform. Production requests were duplicated, with the legacy engine determining assignments while the new platform's outputs were logged for comparison. Teams evaluated matching quality, delivery times, and resilience under load. After establishing parity, they used controlled switchback experiments and fallback mechanisms during rollout.

*Shadow testing compares legacy and new dispatch outputs (Source: [DoorDash Blog Post](https://careersatdoordash.com/blog/how-doordash-built-a-next-generation-real-time-dispatch-platform/))*

DoorDash reports a tenfold increase in dispatch throughput, with more than 99.96% of runs completing within 20 seconds. During Super Bowl Sunday, the platform maintained more than 99.99% availability despite a 10% week-over-week increase in peak volume.

The architecture also introduces a hybrid L1/L2 model serving. Latency-sensitive inference runs locally within compute workers using [ONNX Runtime](https://onnxruntime.ai/), avoiding remote procedure call overhead. More complex evaluations use isolated remote model-serving clusters, keeping heavier workloads away from the coordinator's state-management path.

DoorDash has also deployed multi-agent reinforcement learning to dynamically adjust dispatch objective weights based on localized marketplace feedback, including merchant congestion and courier utilization. The agents adapt the trade-off between delivery speed and batching efficiency at individual stores. The approach was evaluated through production switchback experiments and accepted at the [ICML 2026 Workshop](https://arxiv.org/abs/2606.13604) on Reinforcement Learning from World Feedback.
