Durable Execution & Workflow Checkpointing

The pattern of checkpointing a program's progress to a durable external system (a dedicated orchestrator or a relational database) so execution can resume after a crash from the last completed step — the concurrency, idempotency, and fault-tolerance primitives (queue claiming, unique-constraint checkpoints, leases) that implement it, and the build-vs-buy question of whether a dedicated engine or existing infrastructure should host it.

Also known as: durable execution, durable workflows, checkpointed execution, workflow orchestrator, external orchestrator, Temporal, AWS Step Functions, lease-and-sweeper, idempotent checkpoint, SKIP LOCKED, crash recovery (workflow)

How authors use it

Oldest first (extraction date when no publication date is known).

AuthorTheir termTheir meaning
Article: Implementing Durable Workflows on Postgres Without an External Orchestrator
Raman Varma · 2026-09-14
durable executionA program that checkpoints its progress to an external durable system as it runs, so that if the process dies, another process can reload the last checkpoint and continue from there — "autosave from a video game, but for backend code."
Article: Implementing Durable Workflows on Postgres Without an External Orchestrator
Raman Varma · 2026-09-14
SKIP LOCKEDThe `SELECT ... FOR UPDATE SKIP LOCKED` clause used as the sole concurrency primitive: it lets one worker claim a row while every other concurrent poller skips past already-locked rows instead of blocking, giving one-worker-per-row claim semantics with no broker, leader election, or external lock service.
Article: Implementing Durable Workflows on Postgres Without an External Orchestrator
Raman Varma · 2026-09-14
idempotent checkpointA step's output written exactly once via a primary-key/unique constraint on `(execution_id, step_id)`; a rerun after a crash is detected by a failed insert (or a check-before-execute read) and returns the prior stored result instead of repeating the step's side effect.

Documents (4)

Propositions touching this concept (10)

By publication month, oldest first (extraction month when no publication date is known).

2026-05

2026-08

2026-09

Open gaps (11)