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

thomasgauvin: added changelog entry for hyperdrive caching at edge (w… #19392

Merged
merged 7 commits into from
Jan 30, 2025
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
title: Up to 10x faster cached queries for Hyperdrive
description: Hyperdrive now caches queries in all Cloudflare locations decreasing cache hit latency by up to 90%
products:
- hyperdrive
date: 2024-12-11T18:00:00Z
---

Hyperdrive now caches queries in all Cloudflare locations decreasing cache hit latency by up to 90%.
Oxyjun marked this conversation as resolved.
Show resolved Hide resolved

When you make a query to your database and Hyperdrive has cached the query results, Hyperdrive will now return the results from the nearest cache. This reduces latency for cache hits by up to 90% by caching data closer to your users.
thomasgauvin marked this conversation as resolved.
Show resolved Hide resolved

This reduction in cache hit latency is reflected in a reduction of the session duration for all queries (cached and uncached) from Cloudflare Workers to Hyperdrive as illustrated below.
Oxyjun marked this conversation as resolved.
Show resolved Hide resolved

![Hyperdrive edge caching improves average session duration for database queries](~/assets/images/hyperdrive/changelog/hyperdrive-edge-caching-metrics.png)

_P50, P90, and P95 Hyperdrive session latency for all client connection sessions (both cached and uncached queries) for Hyperdrive configurations with caching enabled during the rollout period._
thomasgauvin marked this conversation as resolved.
Show resolved Hide resolved

This performance improvement is applied to all new and existing Hyperdrive configurations that have caching enabled.

For more details on how Hyperdrive performs query caching, see the [Hyperdrive documentation](/hyperdrive/configuration/how-hyperdrive-works/#query-caching).
Oxyjun marked this conversation as resolved.
Show resolved Hide resolved
Loading