AI NewsProductivityAnnouncement
DoorDash rebuilt its dispatch engine to ten times its old throughput
DoorDash split its dispatch engine into a stateful coordinator and a pool of stateless workers. It says the new system runs ten times more dispatches and holds above 99.99 percent availability at peak.

Why it mattersA single optimisation loop can run out of room. Splitting state from compute lets a team scale by adding workers.
DoorDash published a writeup on its own engineering careers blog about rebuilding its real-time dispatch platform. The old engine was one process. It is now a stateful coordinator and a pool of stateless compute workers. DoorDash says the new design ran at ten times the old throughput. It held above 99.99 percent availability through Super Bowl Sunday.
The InfoQ report by Leela Kumili summarises the same writeup. The figures below are DoorDash's own, from its careers blog.
What broke in the single process
The old dispatch engine mixed three jobs in one program. It held the state of every open order and courier. It applied the business rules on who could carry what. It ran the optimisation that matched orders to couriers. That step had close to quadratic time in the problem size. At peak, DoorDash writes, the system was being asked to serve four times its capacity. It fell back to simple heuristics and took decisions on partial information.
That is the kind of ceiling a single optimisation loop hits. Adding a server does nothing, because the loop needs the full state.
The two tiers
The new design is a stateful coordinator and a worker pool. The coordinator owns the lifecycle of each dispatch, the global logistics state, and the business rules. The workers are stateless. They receive a slice of the problem over gRPC, run the optimisation and the vehicle-routing heuristics, and return a result.
The slice is geographic. DoorDash calls this payload sharding. A worker never sees the global state. The coordinator stitches the worker results back together and reconciles conflicts across partitions.
ONNX Runtime runs the model inference inside each worker. The team uses multi-agent reinforcement learning to set the weights each worker uses. The weights are learned from local feedback, like merchant congestion and courier utilisation.
The numbers DoorDash states
Ten times the dispatch throughput. More than 99.99 percent availability at peak. 99.96 percent of runs finish inside 20 seconds. The peak case is Super Bowl Sunday. It ran at 10 percent higher volume than the same slot the week before. Every figure is DoorDash's own.
The writeup does not give the dollar cost of the rebuild, the team size, or how long the project took.
How the team avoided a bad switch
Shadow testing ran both engines in parallel on real production traffic. The legacy engine made the live assignment. The new platform's output was logged and compared. The team looked at matching quality, delivery times, and resilience before moving any live traffic to the new system. The rollout used controlled switchback, with fallbacks on each path.
For a team facing the same ceiling, the lesson is the architecture, not the numbers. One optimisation loop that owns state is the constraint most teams do not see until it stops scaling. Splitting state from compute is a shape that fits more than dispatch. The same two tiers work for fraud scoring, routing, pricing and ranking. The cost is the coordination protocol between the tiers, and the shadow test that proves the switch is safe.
Source
How DoorDash built a next-generation real-time dispatch platform, DoorDash careers blog. Reported by Leela Kumili at InfoQ.
This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.
Get AI News in your inbox
New developer tools, model and agent releases, and how teams are actually using them to release software. Short, and only when there is something worth reading.


