Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add D1 changelog and release notes for request latency improvements #19235

Merged
merged 22 commits into from
Jan 21, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions src/content/changelogs-next/2025-01-07-d1-faster-query.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: 40-60% Faster D1 Requests
description: D1 end-to-end request latency decreases by 40-60%.
products:
- d1
date: 2025-01-07T18:00:00Z
---

[D1](/d1/) lowered end-to-end request latency by 40-60% by eliminating latency incurred with multiple network round trips required for each request. Faster D1 performance applies to requests via both D1's [Worker API](/d1/worker-api/) and [REST API](/api/resources/d1/subresources/database/methods/query/).
vy-ton marked this conversation as resolved.
Show resolved Hide resolved

Removing netowrk round trips particularily benefit user requests geographically far from the requested D1 database, e.g, user in Europe talking to a database in North America. D1 [location hints](https://developers.cloudflare.com/d1/configuration/data-location/#provide-a-location-hint) can be used to influence the geographic location of a database.
vy-ton marked this conversation as resolved.
Show resolved Hide resolved
lambrospetrou marked this conversation as resolved.
Show resolved Hide resolved

[TODO image]
vy-ton marked this conversation as resolved.
Show resolved Hide resolved

For more details on how D1 lowered latency, see product-specific changelog [entry](/d1/platform/changelog/#2025-01-13).
10 changes: 10 additions & 0 deletions src/content/changelogs/d1.yaml
Original file line number Diff line number Diff line change
@@ -16,6 +16,16 @@ entries:

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.

- publish_date: "2024-01-07"
title: D1 end-to-end request latency decreases by 40-60%.
description: |-

D1 lowered end-to-end request latency by 40-60% by eliminating latency incurred with multiple network round trips required for each request. Faster D1 performance applies to requests via both D1's [Worker API](/d1/worker-api/) and [REST API](/api/resources/d1/subresources/database/methods/query/).

For each request, two to three network round trips were eliminated. One round trip was introduced by a bug that was fixed.
vy-ton marked this conversation as resolved.
Show resolved Hide resolved

The remaining removed round trips were responsible for creating TCP connections between Cloudflare data centers. D1's networking layer no longer relies on TCP connections, which removes additional round trip time.

- publish_date: "2024-08-23"
title: D1 alpha databases have stopped accepting SQL queries
description: |-