Back to All 30 System Design Questions
HLDMediumQuestion 12 of 30
Design a Distributed Job Scheduler & Workflow Engine (Temporal / Apache Airflow)
Design a highly resilient, durable workflow orchestration platform capable of scheduling, executing, and monitoring millions of complex Directed Acyclic Graph (DAG) task pipelines with guaranteed exactly-once progression.
Asked by:UberAirbnbStripeNetflix
#Distributed Systems#DAG#Workflows#State Machine#Queues#Idempotency
System Architecture Topology
Compiling architecture diagram...
Distributed Job Scheduler
Decouples DAG dependency evaluation from worker task execution, uses hierarchical timing wheels for sub-millisecond delayed schedule popping, and prevents zombie worker dual executions via monotonic fencing tokens.