What is a Durable Execution?
Durable execution is a workflow-processing pattern where the state of a long-running, multi-step process is persisted at each step, so the process can resume exactly where it left off after a crash, restart, or infrastructure failure instead of losing progress or restarting from scratch.
A normal in-memory function loses all its progress if the process running it dies partway through. Durable execution frameworks checkpoint each completed step (and its output) to durable storage, so a workflow that's ten steps into a thirty-step process can pick up at step eleven after a crash rather than re-running steps one through ten or failing outright. This matters enormously for workflows involving external side effects — you don't want to accidentally re-send an email or re-charge a card because a retry re-ran a step that already succeeded.
The pattern typically pairs with idempotency keys on each step, so even if a step's completion record is ambiguous, re-running it is safe. It's especially valuable for agentic workflows, which can involve many sequential tool calls over minutes or hours — a single transient network blip shouldn't force the whole task to restart.
Durable execution is what separates a genuinely reliable automation platform from a demo that only works when nothing goes wrong.
In practice with Neotask
Neotask's job worker persists the state of each step in a long-running agent task — tool calls, intermediate results, retries — to MongoDB, so a worker restart or crash resumes the tenant's in-flight automation from its last completed step instead of silently dropping it or re-running side effects like a sent email.
Related terms
- dead-letter-queue
- workflow-orchestration
- agent-loop
- job-queue
Plans
Free
$0/mo
Download without a card and start for free.
Individual
$50/mo
The full personal agent platform for one person.
Business
$100/mo
One company workspace with room to add your team.
Enterprise
$200/mo
Multiple workspaces and capacity for larger teams.
Continue