Skip to content

Commit 5d9dc1a

Browse files
committed
Adding note on storing metadata when writing to
SQLite-backed DO.
1 parent b2d52b8 commit 5d9dc1a

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/content/docs/durable-objects/platform/limits.mdx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ For Durable Object classes with [SQLite storage backend](/durable-objects/best-p
4444

4545
<Render file="limits_increase" product="workers" />
4646

47-
## How much work can a single Durable Object do?
47+
## Frequently Asked Questions
48+
49+
### How much work can a single Durable Object do?
4850

4951
Durable Objects can scale horizontally across many Durable Objects. Each individual Object is inherently single-threaded.
5052

@@ -54,7 +56,7 @@ Durable Objects can scale horizontally across many Durable Objects. Each individ
5456

5557
A Durable Object that receives too many requests will, after attempting to queue them, return an [overloaded](/durable-objects/observability/troubleshooting/#durable-object-is-overloaded) error to the caller.
5658

57-
## How many Durable Objects can I create?
59+
### How many Durable Objects can I create?
5860

5961
Durable Objects are designed such that the number of individual objects in the system do not need to be limited, and can scale horizontally.
6062

src/content/docs/durable-objects/platform/pricing.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,9 @@ In this scenario, the estimated monthly cost would be calculated as:
118118
## Storage API billing
119119

120120
<Render file="storage_api_pricing" product="workers" />
121+
122+
:::caution[Metadata when writing to SQLite-backed Durable Object]
123+
All writes to a SQLite-backed Durable Object records nominal amounts of metadata, which counts towards your billable storage.
124+
125+
The metadata remains until you call [`deleteAll()`](/durable-objects/api/storage-api/#deleteall) on the Durable Object.
126+
:::

0 commit comments

Comments
 (0)