Workflowscore
Durable execution
Workflows that survive crashes, deploys and week-long waits by persisting every step.
What it is and why it exists
A durable execution engine records each step’s result; if the process dies, it replays from the log and continues where it left off instead of starting over (and re-sending the email). It makes long-running agents, human approvals and retries reliable.
Quick prototype
A Python script that you rerun from the top when it crashes.
In production, at scale
Workflow code on an engine (Temporal, Step Functions, Restate, DBOS, Inngest, LangGraph with a checkpointer), activities/tool calls idempotent, timeouts and retry policies per step, versioning for workflows in flight.
Vendors and tools
| Temporal | Durable workflows with deterministic replay |
|---|---|
| Restate / DBOS / Inngest | Durable functions |
| LangGraph checkpointers | Persisted graph state per thread |
On AWS: AWS Step Functions (standard workflows can run for up to a year); SQS + DynamoDB for hand-rolled state.
How it fails
- Crash after the refund but before saving the state → refund again on restart
- Non-deterministic workflow code breaking replay
What the interviewer asks next
Why do LLM agents need durable execution?
Runs are long, call flaky external services and wait for humans. Without durability a crash means starting over — paying for tokens again and repeating side effects.