Skip to content

Commit 3034a8e

Browse files
committed
address comments & add image to d1 changelog
1 parent 00845b1 commit 3034a8e

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ products:
55
- d1
66
date: 2025-01-07T18:00:00Z
77
---
8-
9-
[D1](/d1/) lowered end-to-end request latency via the [Workers API](/d1/worker-api/) by up to 60% through eliminating redundant network round trips for each request.
8+
9+
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 network round trips needed for each request to a D1 database.
1010

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

13-
*p50, p90, and p95 latency aggregated across entire D1 service. These latencies are a reference point and should not be viewed as your exact workload improvement.*
13+
*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

1515
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.
1616

17-
For more details on how D1 removed redundnat round trips, see the D1 specific changelog [entry](/d1/platform/changelog/#2025-01-07).
17+
For more details on how D1 removed redundant round trips, see the D1 specific changelog [entry](/d1/platform/changelog/#2025-01-07).

src/content/changelogs/d1.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ entries:
2020
title: D1 Worker API request latency decreases by 40-60%.
2121
description: |-
2222
D1 lowered end-to-end Worker API request latency by 40-60% by eliminating redundant network round trips for each request.
23+
24+
![D1 Worker API latency](../../assets/images/d1/faster-d1-worker-api.png)
25+
26+
*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.*
2327
2428
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.
2529

0 commit comments

Comments
 (0)