Skip to content

Commit 4f85f28

Browse files
committed
Accepting PCX Review part 2
1 parent d9efb1d commit 4f85f28

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

src/content/docs/durable-objects/best-practices/access-durable-objects-storage.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ A Durable Object's [in-memory state](/durable-objects/reference/in-memory-state/
1515
## Access storage
1616

1717
:::note[Recommended SQLite-backed Durable Objects]
18-
We recommend all new Durable Object classes use the [SQLite storage backend](/durable-objects/best-practices/access-durable-objects-storage/#create-sqlite-backed-durable-object-class).
18+
Cloudflare recommends all new Durable Object classes use the [SQLite storage backend](/durable-objects/best-practices/access-durable-objects-storage/#create-sqlite-backed-durable-object-class).
1919

2020
The [key-value storage backend](/durable-objects/reference/durable-objects-migrations/#create-durable-object-class-with-key-value-storage) remains for backwards compatibility, and a migration path from KV storage to SQLite storage for existing Durable Object classes will be available in the future.
2121
:::

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ These examples exclude the costs for the Workers calling the Durable Objects. Wh
2020
* Inactive objects receiving no requests do not incur any duration charges.
2121
* The [WebSocket Hibernation API](/durable-objects/best-practices/websockets#websocket-hibernation-api) can dramatically reduce duration-related charges for Durable Objects communicating with clients over the WebSocket protocol, especially if messages are only transmitted occasionally at sparse intervals.
2222

23-
#### Example 1
23+
### Example 1
2424

2525
This example represents a simple Durable Object used as a co-ordination service invoked via HTTP.
2626

@@ -40,7 +40,7 @@ In this scenario, the estimated monthly cost would be calculated as:
4040

4141
**Estimated total**: \~$0.075 (requests) + $0.00 (compute duration) + minimum $5/mo usage = $5.08 per month
4242

43-
#### Example 2
43+
### Example 2
4444

4545
This example represents a moderately trafficked Durable Objects based application using WebSockets to broadcast game, chat or real-time user state across connected clients:
4646

@@ -64,7 +64,7 @@ In this scenario, the estimated monthly cost would be calculated as:
6464

6565
**Estimated total**: $0.41 (requests) + $133.24 (compute duration) + minimum $5/mo usage = $138.65 per month.
6666

67-
#### Example 3
67+
### Example 3
6868

6969
This example represents a horizontally scaled Durable Objects based application using WebSockets to communicate user-specific state to a single client connected to each Durable Object.
7070

@@ -88,7 +88,7 @@ In this scenario, the estimated monthly cost would be calculated as:
8888

8989
**Estimated total**: $1.79 (requests) + $409.72 (compute duration) + minimum $5/mo usage = $416.51 per month
9090

91-
#### Example 4
91+
### Example 4
9292

9393
This example represents a moderately trafficked Durable Objects based application using WebSocket Hibernation to broadcast game, chat or real-time user state across connected clients:
9494

src/content/glossary/durable-objects.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,5 @@ entries:
7474
7575
- term: "bookmark"
7676
general_definition: |-
77-
A bookmark is a mostly alphanumeric string like 0000007b-0000b26e-00001538-0c3e87bb37b3db5cc52eedb93cd3b96b which represents a specific state of a SQLite database at a certain point in time. Bookmarks are designed to be lexically comparable: a bookmark representing an earlier point in time compares less than one representing a later point, using regular string comparison.
77+
A bookmark is a mostly alphanumeric string like `0000007b-0000b26e-00001538-0c3e87bb37b3db5cc52eedb93cd3b96b` which represents a specific state of a SQLite database at a certain point in time. Bookmarks are designed to be lexically comparable: a bookmark representing an earlier point in time compares less than one representing a later point, using regular string comparison.
7878

src/content/partials/durable-objects/durable-objects-pricing.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
2-
{}
2+
params:
3+
- product
34
---
45

56
import {Render, Markdown, GlossaryTooltip, Details, AnchorHeading } from "~/components";
@@ -66,7 +67,7 @@ The [Durable Objects Storage API](/durable-objects/api/storage-api) is only acce
6667

6768
<sup>2</sup> Key-value methods like `get()`, `put()`, `delete()`, or `list()` store and query data in a hidden SQLite table and are billed as rows read and rows written.
6869

69-
<sup>3</sup> Each `setAlarm` is billed as a single row written.
70+
<sup>3</sup> Each `setAlarm()` is billed as a single row written.
7071

7172
<sup>4</sup> Deletes are counted as rows_written.
7273

0 commit comments

Comments
 (0)