-
Notifications
You must be signed in to change notification settings - Fork 9.9k
Extend the D1 how much worker can a database can do #26369
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
base: production
Are you sure you want to change the base?
Extend the D1 how much worker can a database can do #26369
Conversation
Co-authored-by: Jun Lee <junlee@cloudflare.com>
|
|
||
| A database that receives too many concurrent requests will first attempt to queue them. If the queue becomes full, the database will return an ["overloaded" error](/d1/observability/debug-d1/#error-list). | ||
|
|
||
| Each individual D1 database is backed by a single [Durable Object](/durable-objects/concepts/what-are-durable-objects/). |
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.
- should mention how replication alters this
- could raise reader question of durability
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.
This doesn't really change though if we take each replica separately.
I can add a sub-section at the end for read replication to add some clarification.
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.
| Each individual D1 database is backed by a single [Durable Object](/durable-objects/concepts/what-are-durable-objects/). | |
| Each individual D1 database is backed by a single [Durable Object](/durable-objects/concepts/what-are-durable-objects/). When using [D1 read replication](https://developers.cloudflare.com/d1/best-practices/read-replication/#primary-database-instance-vs-read-replicas) each replica instance is a different Durable Object and the guidelines apply to each replica instance independently. |
@vy-ton what do you think?
Summary
Rewording the D1 documentation about how much work can be done since this is a very common question by D1 users.
Screenshots (optional)
Documentation checklist