Create AI agents, collaborative applications, real-time interactions like chat, and more without needing to coordinate state, have separate storage, or manage infrastructure.
Available on Free and Paid plans
Durable Objects provide a building block for stateful applications and distributed systems.
Use Durable Objects to build applications that need coordination among multiple clients, like collaborative editing tools, interactive chat, multiplayer games, live notifications, and deep distributed systems, without requiring you to build serialization and coordination primitives on your own.
Get startedNote
SQLite-backed Durable Objects are now available on the Workers Free plan with these limits.
SQLite storage and corresponding Storage API methods like sql.exec
have moved from beta to general availability. New Durable Object classes should use wrangler configuration for SQLite storage.
A Durable Object is a special kind of Cloudflare Worker which uniquely combines compute with storage. Like a Worker, a Durable Object is automatically provisioned geographically close to where it is first requested, starts up quickly when needed, and shuts down when idle. You can have millions of them around the world. However, unlike regular Workers:
Therefore, Durable Objects enable stateful serverless applications.
For more information, refer to the full What are Durable Objects? page.
In-memory StateLearn how Durable Objects coordinate connections among multiple clients or events.
Storage APILearn how Durable Objects provide transactional, strongly consistent, and serializable storage.
WebSocket HibernationLearn how WebSocket Hibernation allows you to manage the connections of multiple clients at scale.
Durable Objects AlarmsLearn how to use alarms to trigger a Durable Object and perform compute in the future at customizable intervals.
WorkersCloudflare Workers provides a serverless execution environment that allows you to create new applications or augment existing ones without configuring or maintaining infrastructure.
D1D1 is Cloudflare's SQL-based native serverless database. Create a database by importing data or defining your tables and writing your queries within a Worker or through the API.
R2Cloudflare R2 Storage allows developers to store large amounts of unstructured data without the costly egress bandwidth fees associated with typical cloud storage services.
Browse what other developers are building with Durable Objects.
Learn about Durable Objects limits.
Learn about Durable Objects pricing.
Learn more about storage and database options you can build with Workers.
Connect with the Workers community on Discord to ask questions, show what you are building, and discuss the platform with other developers.
Follow @CloudflareDev on Twitter to learn about product announcements, and what is new in Cloudflare Developer Platform.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4