Skip to content

Commit f459761

Browse files
vy-tonlambrospetrou
authored andcommitted
D1 REST API latency changelog (cloudflare#22751)
* D1 REST API latency changelog --------- Co-authored-by: Lambros Petrou <[email protected]>
1 parent 6cf4e3b commit f459761

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: 50-500ms Faster D1 REST API Requests
3+
description: D1 REST API request latency improvements.
4+
products:
5+
- d1
6+
- workers
7+
date: 2025-05-29T00:00:00Z
8+
---
9+
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.
11+
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 outside the United States see a bigger benefit since Cloudflare's primary core data centers reside in the United States.
13+
14+
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)