-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Durable Objects] Adding "What are Durable Objects" chapter. #19570
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
13 files reviewed, 3 total issue(s) found.
Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com>
Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com>
Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
13 files reviewed, 2 total issue(s) found.
…docs into jun/do/what-is-do
Co-authored-by: hyperlint-ai[bot] <154288675+hyperlint-ai[bot]@users.noreply.github.com>
Deploying cloudflare-docs with Cloudflare Pages
|
|
||
--- | ||
|
||
A Durable Object is a special kind of [Cloudflare Worker](/workers/) which uniquely combines compute with storage. Like a Worker, a Durable Object is automatically provisioned geographically close to where it is first requested, starts up quickly when needed, and shuts down when idle. You can have millions of them around the world. However, unlike regular Workers: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be worth indicating that, unlike a Cloudflare Worker, a Durable Object cannot be accessed directly. Requests from the public internet first need to go through a Worker, the Worker makes a call to the Durable Object via the binding. That's a pretty significant difference
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this page there isn't any mention of code specific things, so I believe this doesn't fit well in these sections.
It's important, 100%, but someone new reading this page won't understand that part anyway without code.
The other tutorial/walkthrough pages should cover this detail.
Summary
@lambrospetrou has authored a "What are Durable Objects?" chapter which introduces users to the overall concept of DO.
Thanks to all the contributors: @vy-ton @joshthoward @Frederik-Baetens @justin-mp @a-robinson
Screenshots (optional)
Documentation checklist