Skip to content

Commit 791cf2e

Browse files
authored
Update 2025-05-30-d1-rest-api-latency.mdx
1 parent 29f6104 commit 791cf2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/changelog/d1/2025-05-30-d1-rest-api-latency.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ products:
77
date: 2025-05-29T00:00:00Z
88
---
99

10-
Users using Cloudflare's [REST API](/api/resources/d1/subresources/database/methods/query/) 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 recieved the request. Previously, authentication required D1 REST API requests to proxy to Cloudflare's core data centers, which added network round trips to select, central locations.
10+
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 recieved the request. Previously, authentication required D1 REST API requests to proxy to Cloudflare's core centralized centers, which added network round trips.
1111

12-
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, due to authentication at the network data center recieving the request, but still require access to Cloduflare's core data centers.
12+
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 Cloduflare's core data centers for other control plane metadata.
1313

1414
Performance improvements apply to only the REST API. Users can now expect similar performance querying their database via the REST API and via a [Worker](/d1/best-practices/query-d1/#query-d1-with-workers-binding-api).
1515

0 commit comments

Comments
 (0)