Skip to content

Commit 31b826e

Browse files
committed
Handling images correctly for D1 changelog entry.
1 parent 757a08c commit 31b826e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ date: 2025-01-07T18:00:00Z
88

99
Users making [D1](/d1/) requests via the [Workers API](/d1/worker-api/) can see up to a 60% end-to-end latency improvement due to the removal of redundant network round trips needed for each request to a D1 database.
1010

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

1313
*p50, p90, and p95 request latency aggregated across entire D1 service. These latencies are a reference point and should not be viewed as your exact workload improvement.*
1414

src/content/changelogs/d1.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ entries:
2121
description: |-
2222
D1 lowered end-to-end Worker API request latency by 40-60% by eliminating redundant network round trips for each request.
2323
24-
![D1 Worker API latency](~/assets/images/d1/faster-d1-worker-api.png)
25-
24+
![D1 Worker API latency](/public/images/d1/faster-d1-worker-api.png)
25+
2626
*p50, p90, and p95 request latency aggregated across entire D1 service. These latencies are a reference point and should not be viewed as your exact workload improvement.*
27-
27+
2828
For each request to a D1 database, at least two network round trips were eliminated. One round trip was due to a bug that is now fixed. The remaining removed round trips are due to avoiding creating a new TCP connection for each request when reaching out to the datacenter hosting the database.
29-
29+
3030
The removal of redundant network round trips also 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.
3131
3232
- publish_date: "2024-08-23"

0 commit comments

Comments
 (0)