Cloudflare Durable Objects
A stateful computing primitive provided by the Cloudflare Workers platform. It uses globally unique IDs to ensure all requests for the same object are routed to the same instance, enabling strongly consistent state storage with built-in persistence and support for WebSocket connection management.
Core Facts
Durable Objects are stateful compute units on the Cloudflare Workers platform; each object has its own in-memory state and persistent storage, and only one instance of the same object ID runs at any given time.
Cloudflare Durable Objects assign a globally unique ID to each object and guarantee that all requests with the same ID are routed to the same instance, thereby achieving strongly consistent state storage.
Timeline (last 90 days)
Terse explicitly positions itself as an open-source alternative to Cloudflare Durable Objects.
Each world holds at most 200 people, with peak concurrent online users around 1,200.
The project uses three.js at its foundation, infinite levels are generated by fixed rules, and the multiplayer mode is implemented based on Cloudflare Durable Objects.
Cloudflare Workers' durable objects previously could only run on the Cloudflare network, local development relied on a simulator, and true self-hosting was not possible.
Cloudflare Workers is a serverless runtime running on the edge network; Durable Objects provide strongly consistent stateful objects; D1 is a managed relational database based on SQLite.
On the Cloudflare free plan, the migration configuration for Durable Objects must use new_sqlite_classes; using the legacy new_classes causes a deployment error.
When the MCP server's note retrieval data grows to several thousand entries, changing the per-item KV get search to a SQLite LIKE query inside a Durable Object can reduce the number of KV reads.
Cloudflare's SQLite-backed Durable Objects are now available on the free plan.
Call state management is handled by Cloudflare Durable Objects, with each phone conversation having an independent state instance to avoid concurrency conflicts.
Cloudflare Durable Objects provides a memory layer for stateful AI agents, featuring low edge latency, strong consistency, and on-demand hibernation.
8 more timeline events
All Facts (18)
Durable Objects are stateful compute units on the Cloudflare Workers platform; each object has its own in-memory state and persistent storage, and only one instance of the same object ID runs at any given time.
80%VerifiedCloudflare Durable Objects assign a globally unique ID to each object and guarantee that all requests with the same ID are routed to the same instance, thereby achieving strongly consistent state storage.
65%UnverifiedCloudflare Workers is a serverless runtime running on the edge network; Durable Objects provide strongly consistent stateful objects; D1 is a managed relational database based on SQLite.
60%UnverifiedTerse explicitly positions itself as an open-source alternative to Cloudflare Durable Objects.
50%UnverifiedThe project uses three.js at its foundation, infinite levels are generated by fixed rules, and the multiplayer mode is implemented based on Cloudflare Durable Objects.
50%UnverifiedCloudflare Workers' durable objects previously could only run on the Cloudflare network, local development relied on a simulator, and true self-hosting was not possible.
50%UnverifiedWhen the MCP server's note retrieval data grows to several thousand entries, changing the per-item KV get search to a SQLite LIKE query inside a Durable Object can reduce the number of KV reads.
50%UnverifiedOn the Cloudflare free plan, the migration configuration for Durable Objects must use new_sqlite_classes; using the legacy new_classes causes a deployment error.
50%UnverifiedCloudflare's SQLite-backed Durable Objects are now available on the free plan.
50%UnverifiedCall state management is handled by Cloudflare Durable Objects, with each phone conversation having an independent state instance to avoid concurrency conflicts.
50%UnverifiedCloudflare Durable Objects provides a memory layer for stateful AI agents, featuring low edge latency, strong consistency, and on-demand hibernation.
50%UnverifiedCloudflare Durable Objects has a built-in transactional storage API (storage.transaction()) that provides serializable read/write semantics, and combined with the single-threaded execution model of the V8 Isolate, developers almost never need to manually implement locking.
50%UnverifiedCloudflare Durable Objects run on the Workers platform and are constrained by CPU time limits, memory caps, and the edge runtime environment, leaving developers unable to freely specify the compute specifications of instances.
50%UnverifiedThe virtual Actor concept introduced by Microsoft Research's Orleans is closest to Durable Objects: the lifecycle of an Actor is managed by the runtime, which automatically activates it when needed and deactivates it when idle.
50%UnverifiedDurable Actors is an open-source project positioned as a counterpart to Cloudflare Durable Objects that provides configurable compute resources.
50%UnverifiedThe game uses Cloudflare Durable Objects to manage rooms and game state synchronization.
50%UnverifiedEach Durable Object has built-in persistent storage and supports WebSocket connection management, making a one-room-to-one-DO-instance mapping in multiplayer games a natural solution to race conditions in in-room state synchronization.
50%UnverifiedA single Durable Object instance has an upper limit on compute resources, making it suitable for small-to-medium-scale real-time sessions rather than large-scale games with tens of thousands of concurrent players on a single server.
50%