By Rishabh Maurya, co-founder of BuildKodiq · 2026-11-29
Pick Temporal when workflows are long-running, high-volume or fan out across many services, and you can run a dedicated workflow service or pay for Temporal Cloud. Pick Inngest when your app is TypeScript or serverless and the work is triggered by events in that app: you get durable steps without running workers. Pick DBOS when you already run Postgres and want durable workflows as a library inside your existing service, with no extra server.
We have Temporal in production on SpotBeam, a broadcast ad-delivery pipeline, and on a workflow engine for a US software platform. We have used Inngest for long-running syncs, forecasts and agent runs in an AI product for grocery stores. We haven't shipped a client project on DBOS yet, so where this post covers DBOS it describes the design, not our production experience.
What is durable execution?
Durable execution means a multi-step job saves its progress as it runs, so a crash, a deploy or a failed API call doesn't lose the job or repeat the steps that already finished. When the process comes back, the job carries on from the last completed step.
Without it, you build the same thing by hand: a status column, a retry table, a cron job that looks for stuck rows, and recovery code nobody wants to touch. Temporal, Inngest and DBOS all give you this as a programming model. You write the steps as ordinary code; the engine records each step's result and retries failures by policy.
One rule applies to all three: steps that touch the outside world should be idempotent. A step can be retried after it did its work but before its result was saved, and running it twice must be harmless.
How does Temporal work?
Temporal splits the system in two. The Temporal Service stores every workflow's event history and hands out work; it is open source and self-hostable, or Temporal runs it for you as Temporal Cloud. Your code runs in workers: processes you deploy that poll task queues for work.
Workflows are the orchestration code. They must be deterministic, because Temporal rebuilds a workflow's state by replaying its history. Activities are the steps that do real work, such as calling an API, transcoding a file or sending an email, and they can fail and retry freely. Signals let outside events reach a running workflow, which is how a workflow can wait days for a person without polling.
There are official SDKs for Go, Java, TypeScript, Python and .NET, among others. Different kinds of work can go on different task queues, each served by its own pool of workers that scales on its own.
The cost is operations. Self-hosting means running the Temporal Service and its database and keeping both healthy. Temporal Cloud removes that work for a fee; check current pricing.
How does Inngest work?
Inngest is event-driven. Your app sends events, such as a user signing up or an invoice being paid, and you write functions that run when a matching event arrives or on a schedule. Inside a function, each step is a checkpoint: its result is saved, and if a later step fails, only that step is retried.
The main difference from Temporal is where your code runs. Inngest calls your functions over HTTP, at an endpoint in your own app, one step at a time. That means functions can live in a serverless deployment with no long-running workers. A function can also sleep for days or wait for another event, which covers approvals and other human input.
Most teams use Inngest as a hosted service, and it can also be self-hosted; check the current licence and self-hosting docs. TypeScript is its main SDK, and there are Python and Go SDKs too.
How does DBOS work?
DBOS puts durable execution in a library. In your existing Python or TypeScript app, you mark functions as workflows and steps, and DBOS saves each step's result in a Postgres database. If the process crashes, DBOS finds the workflows that didn't finish and resumes each one from its last completed step.
There is no separate orchestration server. Workflow state lives in Postgres, next to your own data, where you can query it with SQL. Workflows can sleep durably and wait for messages, which covers pauses for a person. The library is open source; DBOS also offers hosted tooling, so check what's current.
Temporal vs Inngest vs DBOS: how do they compare?
| Temporal | Inngest | DBOS | |
|---|---|---|---|
| Hosting model | A separate service (self-hosted or Temporal Cloud) plus workers you run | A hosted or self-hosted service that calls steps in your app over HTTP | A library inside your app, with Postgres as its only dependency |
| Language support | SDKs for Go, Java, TypeScript, Python, .NET and more | TypeScript-first, with Python and Go | Python and TypeScript; check its docs for other languages |
| Where state is stored | An event history for each workflow, in its own database | Step results, saved in its service | Step checkpoints, in your Postgres |
| Human-in-the-loop | Sends signals to a running workflow | Waits for a matching event | Waits for a message sent to the workflow |
| Ops burden | Highest self-hosted; low with Temporal Cloud | Low with hosted Inngest | Lowest if you already run Postgres well |
| Best fit | Complex, long-running, high-volume or multi-language workflows | Event-driven background work inside a TypeScript or serverless app | Adding durable workflows to an existing Python or TypeScript service on Postgres |
In all three, a workflow paused for a person costs almost nothing while it waits.
Diagram (see it on the original post): Three ways to make the same job durable. Temporal keeps each workflow's history in its own service and hands work to your workers; Inngest calls your app's steps over HTTP and saves each result; DBOS saves each step in your own Postgres. In all three, a crashed job resumes from the last completed step.
When did we choose Temporal?
SpotBeam automates how a US broadcast ad-distribution company checks, converts and delivers TV and radio commercials to stations. Each order has many steps. Some take minutes (transcoding), some call systems we don't control, and one can wait days for a client to re-upload a bad file. Every station needs its own format, documents and delivery method, and a missed or wrong delivery is not an option.
- One parent workflow per order: validate the media, make a preview and back up the original, transcode once per format, generate the station documents (PDF, XML, BXF), deliver, then notify the client.
- A child workflow per station, delivering in parallel by its own method (Signiant, Aspera, FTP, S3 or Google Drive) and retrying on its own.
- A pause on a signal when a file fails validation: the workflow emails the client and waits until they re-upload or cancel.
- Separate task queues for media, transcode, documents, notifications, distribution and the orchestrator, each scaling on its own on Kubernetes.
- Integration with the client's existing C# services over RabbitMQ, instead of a rewrite.
That mix is where Temporal earns its operating cost: fan-out with independent retries, long waits on people, and worker pools that scale separately.
We also used Temporal for a US software platform whose multi-step automations used to fail halfway and had to be restarted by hand. The new workflows pause, retry and resume, including content publishing across social platforms from scheduling to posting.
On the AI product for independent grocery stores, we used Inngest instead, for long-running syncs, forecasts and agent runs, with logs you can query for every workflow. The app is Next.js and FastAPI deployed on Vercel, where steps called over HTTP fit without a separate pool of workers.
When is a plain queue enough?
More often than people expect. If a job is one step, finishes in seconds and is safe to run twice, a queue with retries or a cron job is simpler, and you should use it. Sending a welcome email, resizing an image or refreshing a cache don't need a workflow engine.
Move to durable execution when you notice you are building one by hand: the job has several steps that call outside systems, it can run for minutes or days, it has to wait for a person, or a half-finished run leaves data in a bad state. That was the line on SpotBeam.
Which durable workflow engine should you choose?
- Is the work one short step that is safe to repeat? Use a queue or a cron job.
- Is your app TypeScript or serverless, and is the work triggered by events in that app? Start with Inngest.
- Do you already run Postgres and want durability without another service? Try DBOS.
- Do workflows fan out across many services, run for days, or need several worker pools or languages? Use Temporal.
- Can your team run and upgrade a stateful cluster? If not, use Temporal Cloud or a hosted option rather than self-hosting.
- Whichever you pick: write the process down first, keep steps idempotent, and build a status view so people can see where every job is.
Diagram (see it on the original post): Pick your engine: one short step that is safe to repeat needs only a queue or a cron job; a TypeScript or serverless app with event-triggered work starts with Inngest; a team already on Postgres that wants no extra service tries DBOS; workflows that fan out across many services, run for days or need several worker pools or languages use Temporal.
Rishabh Maurya leads our durable workflow work. Our earlier post, Temporal in production, covers the SpotBeam build in more detail; the case studies are linked below, or email hello@buildkodiq.com.
Related projects
Originally published on buildkodiq.com. BuildKodiq is a two-engineer studio building AI agents, automation, dashboards, MVPs and websites. Questions: hello@buildkodiq.com.
