Recovery follows recorded progress
How persistent execution state supports recovery across waits and failures, informing the choice of Lambda durable functions, Step Functions, or a hybrid. · advanced
Durable execution separates a workflow's lifetime from the lifetime of any one compute invocation. Persistent execution state records progress so that a wait or failure does not require the entire business process to start again. It is not a snapshot of a running process's memory.
With Lambda durable functions, durable operations create checkpoints. When execution resumes, replay runs the function code again and uses recorded results for completed durable operations instead of repeating their work. Code outside those protected operations can run again. A durable wait allows execution to suspend rather than keeping an invocation running throughout the wait.
The recovery boundary matters: an external write can succeed before its completion is recorded. Idempotency is still needed for effects that can be retried. Persistent workflow state does not make an external side effect and its checkpoint one atomic transaction.
AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.