DoorDash re-architected its Dasher onboarding system into a unified, composable workflow platform to support global expansion and reduce engineering complexity. This new architecture replaces a fragmented legacy system with a modular, step-based orchestration model, enabling consistent and localized onboarding experiences across various markets. The design emphasizes reusable modules, declarative workflows, and a unified status map for improved reliability and maintainability.
Read original on InfoQ ArchitectureDoorDash faced significant challenges with its legacy Dasher onboarding system as it expanded globally, leading to fragmented logic, multiple API versions, duplicated business logic, and tightly coupled dependencies. This made managing applicant progress difficult and increased operational risks. The solution was to re-architect the system into a unified, composable workflow platform designed for global scale.
Key Takeaway for System Design
Designing for global scale early, reasoning from first principles, and investing in reusable modules and clear data contracts are crucial for building a maintainable and scalable architecture. Prioritizing backward compatibility and defining module ownership are essential during phased migrations of complex systems.
The phased migration to the new architecture, starting with the US and then rolling out to other countries like Australia and Canada, validated the system's portability. The composable nature of workflows and reusability of modules significantly reduced development effort for each new market. Future enhancements include dynamic workflow configuration, step versioning for staged rollouts, and operational tooling to manage regional variations without code deployments.