Durable beside Temporal Cloud
A hosted server keeps the history. The workers, the discipline and the saga stay with you.
A workflow cloud: Temporal Cloud
What it gives by its own documentation, what that leaves you to write, and the same work under Durable. Each product compared has a page like this one.
What Temporal Cloud gives, as its documentation describes
- 1
A hosted server keeps the history
- it gives
- The service keeps every workflow's event history; you do not run the server.
- you write
- A worker fleet of your own that polls the service: sized, deployed and kept up by you.
- 2
Workers run your code
- it gives
- Workflow and activity code runs on the workers you run, in the languages its SDKs cover.
- you write
- The fleet's deploys and versions, and the task queues each worker listens on.
- 3
Deterministic workflow code
- it gives
- Workflow code is written deterministic, so a worker can replay the history and resume where the last one stopped.
- you write
- The discipline: no clock, no randomness, no call outside an activity, and a versioning step when the code changes.
- 4
Signals, queries, timers
- it gives
- A signal into a running workflow, a query of its state, and a timer that lasts as long as you like.
- you write
- The handlers and the state they read, inside the deterministic code.
- 5
The saga as code you write
- it gives
- A saga is a pattern in the workflow code: each compensation registered as the workflow goes, run in reverse on a failure.
- you write
- The compensations by hand, and the test that each restores what it found.
- 6
A history of inputs and results
- it gives
- The history records each event's inputs and results and is kept for a retention period.
- you write
- The images of your own data, if you want to know what a step found and left; and a cluster-shaped operations story: namespaces, task queues, worker health.
The same work under Durable
- 7
No server and no worker
- it does
- The engine is a library inside your functions, on your Postgres; a minute cron is the one moving part outside the request path.
- 8
Keys from the input
- it does
- key: ["checkoutId", "requestId"]. One run per intent, and a key that reads the clock is refused before a deploy.
- 9
The undo declared on the step
- it does
- Its compensation beside its effect, or the reason it has none; the undo a row with what it found and what it restored.
- 10
A ledger verify walks
- it does
- Before and after images of your data, hash-chained, append-only; durable-sdk ledger verify --file <export> walks an export offline.
- 11
The agent asks the graph
- it does
- durable-sdk explain <workflow> prints what the door admits, every step with its undo and its writes, the facts and who listens; durable-sdk graph walk <subject> prints the closure from any node; durable-sdk graph impact --changed prints what a change reaches before it is made. Offline, over a committed index: an AI coding agent asks before it edits, never guesses.
- 12
Refusals as values, the doctor before a deploy
- it does
- A door refuses with an id and a remedy; durable-sdk doctor --host runs every rule over the tree, offline, before a deploy.
- you write
- The steps and their undos.
When Temporal Cloud wins: workers in several languages, timers that must fire to the second on the hosted platform or more than about fifty due a minute anywhere, and a history UI with saved views, a query language and schedule controls. The walk in prose, with its sources.
The whole table, with every source, in Compared.
One charge, and a row that says so.
Two commands to an app with a ledger, and one that asks the graph what happens before you edit.