Durable Execution Engines
Durable execution engines are concrete runtimes or substrate mechanisms that realize the durable execution architecture practice.
A durable execution engine provides durability for enough execution material to resume, replay, retry, or recover process execution after interruption. It may present itself as a workflow engine, durable task runtime, state-machine runtime, saga runtime, process-manager framework, durable job processor, actor runtime with reminders and persisted state, or transaction manager.
Viewed as process managers, durable execution engines manage execution recovery. They recover the execution context of the same logical computation: workflow state or history, checkpoints, timers, signals, scheduled activities, retry state, and pending work. They may host sagas, but the saga logic is what decides whether completed business actions require compensation, alternate paths, negotiation, partial completion, or human intervention.
Durable execution engines are not identical to processes. A semantic process may be advanced by many durable executions, and one durable execution engine may host many different process structures. A durable workflow instance, job record, activation, or transaction may realize one execution attempt, one step, one boundary, or one long-lived process instance depending on the model.
Durable execution engine concerns include:
- Execution identity and addressing.
- Durable history, state, checkpoints, timers, or queues.
- Replay, resume, or continuation behavior.
- Activity, step, or handler scheduling.
- Signal, event, cancellation, and timeout delivery.
- Retry, backoff, compensation, and escalation support.
- Effect boundaries, idempotency keys, and deduplication records.
- Versioning, migration, and compatibility of persisted execution history.
- Operational visibility, inspection, and repair.
Workflow engines are one common family of durable execution engine, but the concepts are not identical. Some workflow engines provide rich process modeling without strong durable execution guarantees. Some durable execution engines expose only tasks, jobs, transactions, or state machines rather than workflows.
Related concepts: durability, durable execution, workflow engines, process managers, sagas, realization, runtimes, process graphs, process, observer, coordination, persistence, reconstitution, recovery, retry, idempotency, ordering.