Skip to content

Commit 19f01c6

Browse files
committed
Lifting text from the Blog to define DO, adding one paragraph which talks about the strength of DO.
1 parent ba6694e commit 19f01c6

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

src/content/docs/durable-objects/index.mdx

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,30 @@ head:
1111

1212
---
1313

14-
import { CardGrid, Description, Feature, LinkTitleCard, Plan, RelatedProduct } from "~/components"
14+
import { CardGrid, Description, Feature, LinkTitleCard, Plan, RelatedProduct, LinkButton } from "~/components"
1515

1616
<Description>
17+
Create collaborative applications, real-time chat, multiplayer games and more without needing to coordinate state or manage infrastructure.
18+
</Description>
1719

20+
<Plan type="paid" />
1821

19-
Create collaborative applications, real-time chat, multiplayer games and more without needing to coordinate state or manage infrastructure.
22+
## What are Durable Objects?
2023

24+
Durable Objects are a part of the Cloudflare Workers serverless platform. A Durable Object is essentially a small server that can be addressed by a unique name and can keep state both in-memory and on-disk. Workers running anywhere on Cloudflare's network can send messages to a Durable Object by its name, and all messages addressed to the same name — from anywhere in the world — will find their way to the same Durable Object instance.
2125

22-
</Description>
26+
Durable Objects are intended to be small and numerous. A single application can create billions of Durable Objects distributed across our global network. Cloudflare automatically decides [where a Durable Object should live](/durable-objects/reference/data-location/) based on where it is accessed, automatically starts it up as needed when requests arrive, and shuts it down when idle. A Durable Object has in-memory state while running and can also optionally store long-lived durable state. Since there is exactly one Durable Object for each name, a Durable Object can be used to coordinate between operations on the same logical object.
2327

24-
<Plan type="paid" />
28+
## Utilize Durable Objects
2529

2630
Durable Objects provide a powerful compute API for coordinating multiple clients or users. Each Durable Object has private, transactional and strongly consistent storage attached.
2731

32+
They are especially good at real-time collaboration, but are not limited to this use case. They are general-purpose servers that can implement any logic you desire to serve requests. More generally, Durable Objects are a basic building block for distributed systems.
33+
2834
Use Durable Objects to build collaborative editing tools, interactive chat, multiplayer games and applications that need coordination among multiple clients, without requiring you to build serialization and coordination primitives on your own.
2935

36+
<LinkButton href="/durable-objects/get-started/walkthrough/">Get started</LinkButton>
37+
3038
:::note[SQLite in Durable Objects Beta]
3139

3240
The new beta version of Durable Objects is available where each Durable Object has a private, embedded SQLite database. When deploying a new Durable Object class, users can [opt-in to a SQLite storage backend](/durable-objects/best-practices/access-durable-objects-storage/#sqlite-storage-backend) in order to access new [SQL API](/durable-objects/api/storage-api/#sqlexec) and [point-in-time-recovery API](/durable-objects/api/storage-api/#point-in-time-recovery), part of Durable Objects Storage API.

0 commit comments

Comments
 (0)