Asset 20 8 2
Does AI recommend your business? Run the free check →

Join 15,000 business owners, marketers and entrepreneurs. The Sunday newsletter you'll be annoyed only arrives once a week.

Article

Moving Off Restate? 9 Durable Execution Options

If Restate isn't the fit, you have three kinds of alternative: another durable execution server or cloud, a library that keeps workflow state in the Postgres you already run, or the durable workflow service bundled with your hosting platform. Decide where you want workflow state to live, then narrow by language and by how each one meters usage.

Picture the moment that sends people looking for durable execution in the first place. A customer pays, your code reserves stock, and the process dies before the confirmation email goes out. On restart, does it charge them again, skip the email, or pick up exactly where it stopped? Restate answers that with a durable runtime for agents and backends, offered as a cloud service, bring-your-own-cloud or open source, and priced in durable actions. Every tool below answers the same question in its own way, and the differences only show up when something breaks, which is why this page ends with a drill for breaking things.

Servers and SDKs that keep a workflow alive

Temporal

Long-running workflows in ordinary code, kept alive through crashes, with the choice of running the open-source server yourself or using its cloud.

Inngest

Event-driven teams get durable functions, queues and agents from an open-source SDK, with a hosted cloud running the other half.

Trigger.dev

Long-lived tasks and AI agents that run without timeouts, from an open-source platform you can host yourself or use as a service.

Hatchet

An MIT-licensed orchestration layer that checkpoints workflows, background tasks and agents so a failed run can carry on from its last checkpoint.

DBOS

If you'd rather not run another server, this open-source library keeps workflow state in Postgres, with a separate Conductor control plane on top.

Resonate

Durable execution built around async and await, Apache 2.0 licensed, storing state in whichever database or queue you already operate.

Durable workflows built into your host

Cloudflare Workflows

Already deploying on Workers? This adds durable multi-step execution there, and it comes as part of the Workers plans.

AWS Step Functions

Serverless state machines that chain AWS services together, a natural pick when most steps are Lambda functions and other AWS calls.

Vercel Workflows

For apps hosted on Vercel: durable code that retries steps, waits for events and resumes after a deployment, built on the open Workflow SDK.

Postgres, a separate engine or your platform: picking a home for state

The code samples all look alike, so the real difference hides in one question: where does the record of each running workflow sit? Answer that and the shortlist mostly writes itself.

In tables on the Postgres you already run. State lives next to your application data, so a workflow step and a database write can share one transaction, and there's nothing new to deploy. Your database now carries workflow load, though, and how much you can see depends on whatever control plane or tooling you add. Choose this when you already trust Postgres, want durability without another server, and like business writes and workflow writes landing together.

In a separate server or cloud service. The engine owns the history of every workflow. You get a purpose-built dashboard, replay and a clean break from your app, and you take on one more system to run, secure and pay for. Self-host it and you're running its database too. Choose this when you run many services in several languages, or workflows that live for weeks; the extra moving part earns its place there. There's a separate guide to Temporal alternatives if that's the class you're leaning towards.

Inside the platform you already host on. On Cloudflare, AWS or Vercel, the bundled option needs no new vendor, contract or login. It also ties your workflow code to that platform, which matters the day you want to move. Choose this when you're a small product team on one host and the workflows are signup flows, emails and webhooks. You can graduate later.

Work with me

Want AI doing the heavy lifting in your marketing?

I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.

Two smaller filters narrow it further. Style first: event-driven, TypeScript-first SDKs feel like writing functions that react to events, which suits product teams shipping web apps, while engines built for several languages suit companies with services in Go, Java and Python that all need the same guarantees. Check the SDK list for the languages you ship before anything else. Then workload: if most of your runs are AI agents calling tools for minutes at a time, favour a tool that explicitly targets long-lived tasks without timeouts, because agents change code often and you'll be deploying mid-run constantly.

Actions, runs, checkpoints: reading the meter

What will a prototype cost you? Very little. Among the tools that list a monthly plan on their pricing pages this month, starting tiers run from free to about $100 a month, and the engines that meter by volume charge a few tens of dollars per million runs or actions. Production is the harder sum, because there's no common unit: depending on the tool you'll pay by actions, runs, events, checkpoints, state transitions or CPU time, or a flat fee with extras on top, and the platform-bundled services fold the cost into a plan you may already have.

A workflow that sleeps, retries twice and waits for one event can cost several units on one meter and a single unit on another. So the cheapest-looking plan for a low-volume prototype can be the dearest at production volume, and the reverse is common too.

Then add the costs that never appear on a pricing page. A self-hosted engine means servers, a database, backups and on-call time. A library on your own Postgres adds load to a database you're already paying for. A bundled platform service is cheap to start but makes leaving more expensive later.

Do you make durable execution or workflow engines? Tool makers can ask to be considered for a featured place on this list.

Pull the plug mid-payment, then decide

Once you've got two candidates, stop reading docs and break something. It takes an afternoon. Write one workflow with four steps: charge a test card, write an order row, send an email, then wait a day for a delivery confirmation event. Build it in both tools, then stop the worker dead straight after the charge and before the order row is written.

When it restarts, check three things. Did the charge run twice? A durable engine records that the step finished, but if your process died after the card provider took the money and before the engine stored the result, only an idempotency key on the charge saves you. Did the workflow resume at the order row, or start over? And can you see the stuck run in a dashboard and tell why it stopped, without reading logs?

Next, deploy a change to the email step while the workflow sits in its one-day wait. Here the tools part company. Some pin a running workflow to the code it started with, some ask you to version your steps by hand, and some replay history against the new code and complain if it no longer matches. None of these is wrong, but it decides how carefully every future deploy has to be planned, so know which one you're signing up for.

Finally, open the usage page and note what that single run consumed, then multiply by your monthly order volume. That number, plus how each tool behaved when you pulled the plug, is a better basis for the decision than any feature grid. Whichever wins, don't switch off the old engine on day one: send new workflows to the new tool and let in-flight runs finish where they started.

Want your tool on this list? Featured spots and reviews here are paid partnerships. Here's how to partner with me.

Frequently asked questions

How long does a move between durable engines take?

As long as your longest wait. Runs already sleeping or waiting for an event stay on the old engine until they finish, so a workflow with a thirty-day timer keeps the old one alive for thirty days. Shorten long waits before the move if you can.

Isn't a job queue with retries enough?

For single-step jobs, often yes. Durable execution earns its keep when a job has several steps with side effects, or waits for something outside your control. A queue retries the whole job; a durable engine resumes from the last finished step.

Does durable execution make my code idempotent?

No. It records which steps completed, but a step that calls a payment provider or sends an email can still run twice if the crash lands at the wrong moment. Give every external call an idempotency key, whichever tool you choose.

Published and maintained by the Lilach Bullock team, covering marketing, AI and business growth.
Your buyers are asking AI who to use. Does it say you?

See for free whether ChatGPT, Claude, Perplexity, Gemini and Google name you, and get the plan to become the answer.

Check my AI visibility →
Sundays only

Get the Sunday newsletter.

One email a week. AI experiments, marketing tactics, and the workflows Lilach is building right now in her own business.

Subscribe free

Let’s get your marketing running on AI.

Book a free 30-minute call

We figure out what you need, where AI fits in, and what working together would look like.

Book the call →

Or take the 30-second calculator

You’ll see the hours and the money quietly leaking out of your week, and the three workflows worth building first.

Take the calculator →

Or grab the free AI resource library

Prompt packs, templates, checklists, and swipe files. The exact tools I build for paying clients. Yours, free.

Get the library →
Keep reading

More from the blog.