Open-source durable execution engine for long-running, fault-tolerant workflows
open sourceApache-2.0self-hostablefree
Cadence is an open-source workflow orchestration engine, a CNCF project, for writing fault-tolerant, stateful, long-running business logic as ordinary code in Go, Java or Python. Workflow state is event-sourced into an execution history, so workflows resume exactly where they failed, activities are retried automatically, and timers such as a 30-day durable sleep survive worker restarts. Cadence matches and queues tasks itself, so no separate message queue is needed. The backend is a set of services on Cassandra, MySQL or PostgreSQL, optionally with Kafka and Elasticsearch or OpenSearch for visibility; workers run your workflow code through the official Go and Java SDKs (community SDKs exist for Python and Ruby), and Cadence Web and the CLI show histories, traces and diagnostics. Uber, DoorDash and NetApp run it in production.
Problems it solves
- long-running business processes that must survive crashes and restarts
- retry failed steps of a multi-step workflow automatically without hand-written state machines
- orchestrate microservices without managing SQS or RabbitMQ queues
- a workflow that waits days or months between steps
- write workflows as plain Go or Java code instead of a DSL
- self-hosted durable execution engine under open governance
Features
- workflows as code
- event-sourced execution history
- automatic activity retries
- durable timers and sleeps
- built-in task matching and queuing
- Cassandra, MySQL and PostgreSQL persistence
- Kafka and Elasticsearch/OpenSearch visibility
- official Go and Java SDKs
- Cadence Web UI with diagnostics
- CLI
View 1 more
- Helm charts for Kubernetes
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has official SDKs | plan not known |
Alternatives
The same job
These do what Cadence does.
- Temporal Durable execution platform for reliable workflows
- Inngest Workflow orchestration: durable step functions on serverless, servers or the edge
- Argo Workflows Workflow Engine for Kubernetes
- Trigger.dev The open-source platform for durable AI agents and workflows in TypeScript
- Hatchet An orchestration engine for background tasks, AI agents, and durable workflows
- Upstash QStash Serverless HTTP messaging, queues and scheduling