Skip to content

Commit 405af18

Browse files
authored
Update 2025-05-30-d1-rest-api-latency.mdx
1 parent 762444e commit 405af18

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,8 +7,8 @@ products:
77
date: 2025-05-29T00:00:00Z
88
---
99

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 received the request. Previously, authentication required D1 REST API requests to proxy to Cloudflare's core centralized centers, which added network round trips.
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 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.
1111

12-
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. 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).
12+
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 resides in the United States.
1313

1414
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.

0 commit comments

Comments
 (0)