architecture3 min read

DoorDash Scales Dispatch 10x With Distributed Architecture

1 similar post
  • ONNX Runtime

AI Summary

DoorDash rebuilt its real-time dispatch platform into a distributed architecture separating a stateful coordinator from stateless compute workers. This redesign resolved quadratic time complexity bottlenecks from a monolithic optimization engine, yielding a 10x increase in throughput and 99.99% peak availability. The system uses hierarchical geographic data partitioning, gRPC payload sharding, shadow testing, and hybrid ONNX/remote model serving to run complex machine learning and multi-agent reinforcement learning workflows.

Key Takeaways

  • Separates coordination from stateless compute workers
  • Uses geographic clustering and hierarchical decomposition
  • Deploys multi-agent reinforcement learning for dynamic objective weights

Why it matters

The article demonstrates how to scale a complex real-time optimization system by shifting from a monolithic design to a decoupled, distributed architecture with hierarchical decomposition and payload sharding.

Conversation0

What would you add from your experience?

Checking your session…

Every good conversation starts with one perspective.