Skip to content

Commit 34d8eda

Browse files
thomasgauvinOxyjun
andauthored
[Hyperdrive] Adjustement to pricing and limits for tier update (#21353)
* thomasgauvin: update hyperdrive pricing and limits for free plan * Making footnotes better, correcting note title from KV -> Hyperdrive --------- Co-authored-by: Jun Lee <[email protected]>
1 parent eecdb27 commit 34d8eda

File tree

4 files changed

+64
-21
lines changed

4 files changed

+64
-21
lines changed

src/content/docs/hyperdrive/platform/limits.mdx

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,23 @@ pcx_content_type: concept
33
title: Limits
44
sidebar:
55
order: 2
6-
76
---
87

98
The following limits apply to Hyperdrive configuration, connections, and queries made to your configured origin databases.
109

11-
| Feature | Limit |
12-
| ---------------------------------------------- | ------------------------------------------------------------------------------------- |
13-
| Maximum configured databases | 25 per account |
14-
| Initial connection timeout | 15 seconds |
15-
| Idle connection timeout | 10 minutes |
16-
| Maximum cached query response size | 50 MB |
17-
| Maximum query (statement) duration | 60 seconds |
18-
| Maximum username length | 63 characters (bytes) [^1] |
19-
| Maximum database name length | 63 characters (bytes) [^1] |
20-
| Maximum potential origin database connections | approx. \~100 connections [^2] |
10+
| Feature | Free | Paid |
11+
| -------------------------------------------------- | ------------------------ | ------------------------- |
12+
| Maximum configured databases | 10 per account | 25 per account |
13+
| Initial connection timeout | 15 seconds | 15 seconds |
14+
| Idle connection timeout | 10 minutes | 10 minutes |
15+
| Maximum cached query response size | 50 MB | 50 MB |
16+
| Maximum query (statement) duration | 60 seconds | 60 seconds |
17+
| Maximum username length [^1] | 63 characters (bytes) | 63 characters (bytes) |
18+
| Maximum database name length [^1] | 63 characters (bytes) | 63 characters (bytes) |
19+
| Maximum potential origin database connections [^2] | approx. \~20 connections | approx. \~100 connections |
2120

2221
:::note
23-
Hyperdrive does not have a hard limit on the number of concurrent *client* connections made from your Workers.
22+
Hyperdrive does not have a hard limit on the number of concurrent _client_ connections made from your Workers.
2423

2524
As many hosted databases have limits on the number of unique connections they can manage, Hyperdrive attempts to keep number of concurrent pooled connections to your origin database lower.
2625
:::
@@ -31,4 +30,4 @@ As many hosted databases have limits on the number of unique connections they ca
3130

3231
:::note
3332
You can request adjustments to limits that conflict with your project goals by contacting Cloudflare. Not all limits can be increased. To request an increase, submit a [Limit Increase Request](https://forms.gle/ukpeZVLWLnKeixDu7) and we will contact you with next steps.
34-
:::
33+
:::

src/content/docs/hyperdrive/platform/pricing.mdx

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,30 @@ pcx_content_type: concept
33
title: Pricing
44
sidebar:
55
order: 1
6-
76
---
87

9-
**Hyperdrive is free and included in every [Workers Paid](/workers/platform/pricing/#workers) plan**.
8+
import { Render } from "~/components";
9+
10+
<Render file="hyperdrive_pricing" product="workers" />
11+
12+
Hyperdrive limits are automatically adjusted when subscribed to a Workers Paid plan. Hyperdrive's [connection pooling and query caching](/hyperdrive/configuration/how-hyperdrive-works/) are included in Workers Paid plan, so do not incur any additional charges.
13+
14+
## Pricing FAQ
15+
16+
### Does connection pooling or query caching incur additional charges?
17+
18+
No. Hyperdrive's built-in cache and connection pooling are included within the stated plans above. There are no hidden limits other than those [published](/hyperdrive/platform/limits/).
19+
20+
### Are cached queries counted the same as uncached queries?
21+
22+
Yes, any query made through Hyperdrive, whether cached or uncached, whether query or mutation, is counted according to the limits above.
23+
24+
### Does Hyperdrive charge for data transfer / egress?
1025

11-
Hyperdrive is automatically enabled when subscribed to a Workers Paid plan, and does not require you to pay any additional fees to use. Hyperdrive's [connection pooling and query caching](/hyperdrive/configuration/how-hyperdrive-works/) do not incur any additional charges, and there are no hidden limits other than those [published](/hyperdrive/platform/limits/).
26+
No.
1227

1328
:::note
1429

1530
For questions about pricing, refer to the [pricing FAQs](/hyperdrive/reference/faq/#pricing).
1631

17-
:::
32+
:::

src/content/docs/workers/platform/pricing.mdx

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@ description: Workers plans and pricing information.
99

1010
import { GlossaryTooltip, Render } from "~/components";
1111

12-
By default, users have access to the Workers Free plan.
12+
By default, users have access to the Workers Free plan. The Workers Free plan includes limited usage of Workers, Pages Functions, Workers KV and Hyperdrive. Read more about the [Free plan limits](/workers/platform/limits/#worker-limits).
1313

14-
The Workers Free plan includes limited usage of Workers and other products. Daily free limits for these products reset at 00:00 UTC. When the daily limit is reached, further operations of that type will fail with an error, until the limits reset again. For more information on the Free plan, refer to [Free plan limits](/workers/platform/limits/#worker-limits).
15-
16-
The Workers Paid plan includes Workers, Pages Functions, Workers KV, and Durable Objects usage for a minimum charge of $5 USD per month for an account. The plan includes increased initial usage allotments, with clear charges for usage that exceeds the base plan.
14+
The Workers Paid plan includes Workers, Pages Functions, Workers KV, Hyperdrive, and Durable Objects usage for a minimum charge of $5 USD per month for an account. The plan includes increased initial usage allotments, with clear charges for usage that exceeds the base plan.
1715

1816
All included usage is on a monthly basis.
1917

@@ -152,6 +150,16 @@ To learn more about KV, refer to the [KV documentation](/kv/).
152150

153151
:::
154152

153+
## Hyperdrive
154+
155+
<Render file="hyperdrive_pricing" />
156+
157+
:::note[Hyperdrive documentation]
158+
159+
To learn more about Hyperdrive, refer to the [Hyperdrive documentation](/hyperdrive/).
160+
161+
:::
162+
155163
## Queues
156164

157165
<Render file="queues_pricing" />
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
{}
3+
---
4+
5+
import { Markdown, Details } from "~/components";
6+
7+
Hyperdrive is included in both the Free and Paid [Workers plans](/workers/platform/pricing/).
8+
9+
| | Free plan[^1] | Paid plan |
10+
| ---------------------------- | --------------------- | --------- |
11+
| Database queries[^2] | 100,000 / day | Unlimited |
12+
13+
[^1]: The Workers Free plan includes limited Hyperdrive usage. All limits reset daily at 00:00 UTC. If you exceed any one of these limits, further operations of that type will fail with an error.
14+
15+
[^2]: Database queries refers to any database statement made via Hyperdrive, whether a query (`SELECT`), a modification (`INSERT`,`UPDATE`, or `DELETE`) or a schema change (`CREATE`, `ALTER`, `DROP`).
16+
17+
<Details header="Footnotes" open={true}>
18+
1: The Workers Free plan includes limited Hyperdrive usage. All limits reset daily at 00:00 UTC. If you exceed any one of these limits, further operations of that type will fail with an error.
19+
20+
2: Database queries refers to any database statement made via Hyperdrive, whether a query (`SELECT`), a modification (`INSERT`,`UPDATE`, or `DELETE`) or a schema change (`CREATE`, `ALTER`, `DROP`).
21+
</Details>

0 commit comments

Comments
 (0)