System Design Problem

Design a Workflow Orchestration Engine (like Temporal/Cadence)

Commonly Asked By:TemporalUberNetflixStripe

  • Long-running, multi-step workflows spanning seconds to months
  • Durable execution: workflow state survives crashes, restarts, deployments
  • Activity tasks: individual units of work executed by workers
  • Timers and sleep: workflow.sleep(Duration.ofDays(30))
  • Retry policies: automatic retry with configurable backoff
  • Saga pattern: compensating transactions for distributed rollback
  • Child workflows: compose workflows hierarchically
  • Signals and queries: send events TO or read state FROM running workflows
  • Versioning: update workflow code without breaking in-flight executions
  • Visibility: search, filter, monitor workflows by custom attributes
Loading...