Skip to content

Conversation

@Oxyjun
Copy link
Contributor

@Oxyjun Oxyjun commented Feb 5, 2025

Summary

This PR clarifies that DO is billed as long as the DO is active, rather than the active time of a request.

Screenshots (optional)

Documentation checklist

  • The documentation style guide has been adhered to.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

@Oxyjun Oxyjun changed the title [DO] Removing misleading sentence from DO pricing footnote. [DO] Clarifying how Durable Object is billed Feb 5, 2025
@Oxyjun Oxyjun self-assigned this Feb 5, 2025
@Oxyjun Oxyjun added the product:durable-objects Durable Objects: https://developers.cloudflare.com/workers/learning/using-durable-objects/ label Feb 5, 2025
@github-actions github-actions bot added size/s and removed product:durable-objects Durable Objects: https://developers.cloudflare.com/workers/learning/using-durable-objects/ labels Feb 5, 2025
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 5, 2025

Deploying cloudflare-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1d63a80
Status: ✅  Deploy successful!
Preview URL: https://1fefaf17.cloudflare-docs-7ou.pages.dev
Branch Preview URL: https://jun-do-active-time-billing.cloudflare-docs-7ou.pages.dev

View logs

import { Markdown, GlossaryTooltip } from "~/components";

[Durable Objects](/durable-objects/) are only available on the [Workers Paid plan](/workers/platform/pricing/#workers).
[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>).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a blocker for this PR, but I'm curious if "event context" is what we want to use. Request context might make more sense. I have used invocation rather than event elsewhere in the docs. CC: @vy-ton

Copy link
Contributor

@vy-ton vy-ton Feb 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies @Oxyjun for getting to this post-merge

I also find request context more clear.

Should we also include The event context for a Durable Objects extends at least 60 seconds after the last client disconnects. mentioned here somewhere on this page below? Otherwise a user could still interpret the removed "Once your Object finishes responding to all requests, it will stop incurring duration charges" to be true.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks - actioning the points here: #19831

@Oxyjun Oxyjun merged commit 038c78c into production Feb 6, 2025
12 checks passed
@Oxyjun Oxyjun deleted the jun/do/active-time-billing branch February 6, 2025 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants