01The bug we are going to fix
Cloudflare launched Durable Objects in 2020 with a modest example: an atomic counter.
Not a database with a counter table — a single object, addressed by name, that can be incremented from
anywhere on Earth without ever losing a tap.
That example is the whole product in miniature, so this page starts where the example starts: with the
tap that gets lost. Everything below is the published mechanism — from Cloudflare's own engineering
posts, and from celld, a new open-source implementation of the same model.
03One order, copies, no election
A durable object is the write-ahead log and the storage cloud, merged into one small machine. The name
picks the machine. The single thread makes order free — no locks, because there is nothing to race
against. The log and its copies make each write survive the machine.
Consensus protocols exist to agree when there could be several writers. Pin the writer to the name and
the election never happens. What remains is a record, copies of it in independent places, and a fence
for zombies — and that is durable enough to run a counter, a chat room, a database, or a whole
open-source stack on top of a bucket.
If you followed the two earlier notes — how a write-ahead
log saves a $100 transfer and how S3 earns its eleven
nines — you had already read both halves of this machine.
DATERECORDSOURCE
2020Durable Objects announced — named, single-instance, stateful
serverlessCF BLOG
2021Input gates, output gates, automatic cachingCF
BLOG
2024SQLite in the same thread; SRS — WAL frames, 5 followers, 3
acks, batches, snapshots, PITRCF BLOG
2025SQLite storage generally available — 10 GB per
objectCF CHANGELOG
2026celld — self-hosted Durable Objects on V8 + SQLite + LTX +
S3 (Apache-2.0)DENO LAND
MECHANISM SOURCES: "WORKERS DURABLE OBJECTS BETA" (2020), "DURABLE OBJECTS: EASY, FAST,
CORRECT — CHOOSE THREE" (2021-08-03), "ZERO-LATENCY SQLITE STORAGE IN EVERY DURABLE OBJECT" (2024-09),
GA CHANGELOG (2025-04-07), ALL BY CLOUDFLARE; CELLD.DEV DOCS INCLUDING FENCING AND TESTING PAGES, AND
GITHUB.COM/DENOLAND/CELLD (AUGUST 2026). LTX IS LITESTREAM'S REPLICA FORMAT, BY BEN JOHNSON — CLOUDFLARE
CREDITS THE SAME ANCESTOR IDEA.