| [ Web Proxy ] |
| Viewing: https://developers.cloudflare.com/durable-objects/ | [Back] [Original] |
Create AI agents, collaborative applications, real-time interactions like chat, and more without needing to coordinate state, have separate storage, or manage infrastructure.
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.
Learn how Durable Objects coordinate connections among multiple clients or events.
Learn how Durable Objects provide transactional, strongly consistent, and serializable storage.
Learn how WebSocket Hibernation allows you to manage the connections of multiple clients at scale.
Learn how to use alarms to trigger a Durable Object and perform compute in the future at customizable intervals.
Cloudflare Workers provides a serverless execution environment that allows you to create new applications or augment existing ones without configuring or maintaining infrastructure.
D1 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.
Cloudflare R2 Storage allows developers to store large amounts of unstructured data without the costly egress bandwidth fees associated with typical cloud storage services.
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.
| Web Proxy Viewer | New URL | Original Page |