Back to problems

Design a Multi-Service Workflow Engine

System Design · DoorDash · Hard

Build a locally executable workflow engine that coordinates several collaborating services running as separate processes. Each service listens on its own port, exposes a documented interface, and may call another service through that interface to advance an end-to-end workflow. Your design must make the service boundaries, workflow state, failure behavior, and local end-to-end verification explicit. Start by naming the workflow states and every allowed transition before…

Checking your access…