Skip to content

Commit bf7ebb0

Browse files
committed
D1 REST API latency changelog
1 parent 7433952 commit bf7ebb0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: Faster D1 REST API
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/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 Cloudflare network data center hosting your database. Previously, authentication required D1 REST API requests to proxy to Cloudflare's core data centers, which added network round trips to select, central locations.
11+
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 hosting a database, but still require access to Cloduflare's core data centers.
13+
14+
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).
15+

0 commit comments

Comments
 (0)