-
Notifications
You must be signed in to change notification settings - Fork 10k
D1 REST API latency changelog #22751
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
Merged
Merged
Changes from 8 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
bf7ebb0
D1 REST API latency changelog
vy-ton 29f6104
fix content
vy-ton 791cf2e
Update 2025-05-30-d1-rest-api-latency.mdx
vy-ton 07233c5
typo
vy-ton 3481dc2
Update 2025-05-30-d1-rest-api-latency.mdx
vy-ton 762444e
typo fix
vy-ton 405af18
Update 2025-05-30-d1-rest-api-latency.mdx
vy-ton 2ee3d42
Update 2025-05-30-d1-rest-api-latency.mdx
vy-ton c1b0234
Update src/content/changelog/d1/2025-05-30-d1-rest-api-latency.mdx
vy-ton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
src/content/changelog/d1/2025-05-30-d1-rest-api-latency.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| --- | ||
| title: 50-500ms Faster D1 REST API Requests | ||
| description: D1 REST API request latency improvements. | ||
| products: | ||
| - d1 | ||
| - workers | ||
| date: 2025-05-29T00:00:00Z | ||
| --- | ||
|
|
||
| Users using Cloudflare's [REST API](/api/resources/d1/) to query their D1 database can see lower end-to-end request latency now that D1 authentication is performed at the closest Cloudflare network data center that received the request. Previously, authentication required D1 REST API requests to proxy to Cloudflare's core, centralized data centers, which added network round trips and latency. | ||
|
|
||
| Latency improvements range from 50-500 ms depending on request location and [database location](/d1/configuration/data-location/) and only apply to the REST API. REST API requests and databases outstide the United States see a bigger benefit since Cloudflare's primary core data centers reside in the United States. | ||
|
|
||
| D1 query endpoints like `/query` and `/raw` have the most noticeable improvements since they no longer access Cloudflare's core data centers. D1 control plane endpoints such as those to create and delete databases see smaller improvements, since they still require access to Cloudflare's core data centers for other control plane metadata. | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.