Skip to content

Commit da86181

Browse files
committed
De-emphasize REST
1 parent 5e06ad4 commit da86181

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/content/changelogs-next/2025-01-07-d1-faster-query.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@ products:
66
date: 2025-01-07T18:00:00Z
77
---
88

9-
[D1](/d1/) lowered end-to-end request latency by 40-60% by eliminating redundant network round trips for each request.
9+
[D1](/d1/) lowered end-to-end Worker API request latency by 40-60% by eliminating redundant network round trips for each request.
1010

1111
![D1 Worker API latency](~/assets/images/d1/faster-d1-worker-api.png)
1212

13-
Faster D1 performance is most noticeable via requests to D1's [Worker API](/d1/worker-api/). The same improvement applies to D1's [REST API](/api/resources/d1/subresources/database/methods/query/). However, the REST API still depends on Cloudflare's centralized datacenters for authentication, which reduces the relative performance improvement.
14-
1513
This performance improvement benefits all D1 Worker API traffic, especially cross-region requests where network latency is an outsized latency factor. For example, a user in Europe talking to a database in North America. D1 [location hints](/d1/configuration/data-location/#provide-a-location-hint) can be used to influence the geographic location of a database.
1614

1715
For more details on how D1 lowered latency, see product-specific changelog [entry](/d1/platform/changelog/#2025-01-07).

src/content/changelogs/d1.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ entries:
1717
For better insight into your current usage, refer to your [billing metrics](/d1/observability/billing/) for rows read and rows written, which can be found on the [D1 dashboard](https://dash.cloudflare.com/?account=/workers/d1) or GraphQL API.
1818
1919
- publish_date: "2025-01-07"
20-
title: D1 end-to-end request latency decreases by 40-60%.
20+
title: D1's Worker API request latency decreases by 40-60%.
2121
description: |-
2222
23-
[D1](/d1/) lowered end-to-end request latency by 40-60% by eliminating redundant network round-trips for each request.
23+
[D1](/d1/) lowered end-to-end Worker API request latency by 40-60% by eliminating redundant network round-trips for each request.
2424

2525
Faster D1 performance is most noticeable via requests to D1's [Worker API](/d1/worker-api/). The same improvement applies to D1's [REST API](/api/resources/d1/subresources/database/methods/query/). However, the REST API still depends on Cloudflare's centralized datacenters for authentication, which reduces the relative performance improvement.
2626

0 commit comments

Comments
 (0)