Skip to content

Commit 16fe308

Browse files
committed
Linking to event context glossary definition.
1 parent 94a9067 commit 16fe308

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/content/partials/workers/durable_objects_pricing.mdx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
{}
33
---
44

5-
import { Markdown } from "~/components";
5+
import { Markdown, GlossaryTooltip } from "~/components";
66

7-
[Durable Objects](/durable-objects/) are only available on the [Workers Paid plan](/workers/platform/pricing/#workers), and are billed while the Durable Object is active.
7+
[Durable Objects](/durable-objects/) are only available on the [Workers Paid plan](/workers/platform/pricing/#workers), and are billed while the Durable Object is active (including the <GlossaryTooltip term="event context"> event context</GlossaryTooltip>).
88

99
| | Paid plan |
1010
| -------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |
@@ -23,9 +23,7 @@ await durableObjectStub.cat(); // billed as a request
2323
```
2424

2525
<sup>2</sup> A request is needed to create a WebSocket connection. There is no charge for outgoing WebSocket messages, nor for incoming [WebSocket protocol
26-
pings](https://www.rfc-editor.org/rfc/rfc6455#section-5.5.2). For compute requests billing-only, a 20:1 ratio is applied to incoming WebSocket messages to factor in smaller messages for real-time communication. For example, 100 WebSocket incoming messages would be charged as 5 requests for billing purposes.
27-
28-
The 20:1 ratio does not affect Durable Object metrics and analytics, which reflect actual usage.
26+
pings](https://www.rfc-editor.org/rfc/rfc6455#section-5.5.2). For compute requests billing-only, a 20:1 ratio is applied to incoming WebSocket messages to factor in smaller messages for real-time communication. For example, 100 WebSocket incoming messages would be charged as 5 requests for billing purposes. The 20:1 ratio does not affect Durable Object metrics and analytics, which reflect actual usage.
2927

3028
<sup>3</sup> Application level auto-response messages handled by [`state.setWebSocketAutoResponse()`](/durable-objects/best-practices/websockets/) will not
3129
incur additional wall-clock time, and so they will not be charged.

0 commit comments

Comments
 (0)