Skip to content

Commit

Permalink
Simplify limits to remove Bundled and Unbound references
Browse files Browse the repository at this point in the history
So that people don't get mixed up, our docs are confusing right now

https://x.com/MicheleRivaCode/status/1846489096547713274
  • Loading branch information
irvinebroque authored Oct 16, 2024
1 parent 4ab45e9 commit 4ae217c
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/content/docs/workers/platform/limits.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import { Render } from "~/components";

## Account plan limits

| Feature | Workers Free | Workers Paid ([Bundled](/workers/platform/pricing/#example-pricing-bundled-usage-model), [Unbound](/workers/platform/pricing/#example-pricing-unbound-usage-model)) and [Standard](/workers/platform/pricing/#example-pricing-standard-usage-model) |
| Feature | Workers Free | Workers Paid |
| -------------------------------------------------------------------------------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [Subrequests](#subrequests) | 50/request | 50/request ([Bundled](/workers/platform/pricing/#example-pricing-bundled-usage-model)),<br/> 1000/request ([Unbound](/workers/platform/pricing/#example-pricing-unbound-usage-model), [Standard](/workers/platform/pricing/#example-pricing-standard-usage-model)) |
| [Subrequests](#subrequests) | 50/request | 1000/request |
| [Simultaneous outgoing<br/>connections/request](#simultaneous-open-connections) | 6 | 6 |
| [Environment variables](#environment-variables) | 64/Worker | 128/Worker |
| [Environment variable<br/>size](#environment-variables) | 5 KB | 5 KB |
Expand Down Expand Up @@ -56,12 +56,12 @@ Cloudflare does not enforce response limits, but cache limits for [Cloudflare's

## Worker limits

| Feature | Free | [Bundled usage model](/workers/platform/pricing/#example-pricing-bundled-usage-model) | [Unbound](/workers/platform/pricing/#example-pricing-unbound-usage-model) and [Standard](/workers/platform/pricing/#example-pricing-standard-usage-model) usage model |
| ------------------------ | ------------------------------------------ | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Request](#request) | 100,000 requests/day<br/>1000 requests/min | none | none |
| [Worker memory](#memory) | 128 MB | 128 MB | 128 MB |
| [CPU time](#cpu-time) | 10 ms | 50 ms HTTP request <br/> 50 ms [Cron Trigger](/workers/configuration/cron-triggers/) | 30 s HTTP request <br/> 15 min [Cron Trigger](/workers/configuration/cron-triggers/) |
| [Duration](#duration) | None | none | 15 min [Cron Trigger](/workers/configuration/cron-triggers/) <br/> 15 min [Durable Object Alarm](/durable-objects/api/alarms/) <br/> 15 min [Queue Consumer](/queues/configuration/javascript-apis/#consumer) |
| Feature | Workers Free | Workers Paid |
| ------------------------ | ------------------------------------------ | ---------------- |
| [Request](#request) | 100,000 requests/day<br/>1000 requests/min | No limit |
| [Worker memory](#memory) | 128 MB | 128 MB |
| [CPU time](#cpu-time) | 10 ms | 30 s HTTP request <br/> 15 min [Cron Trigger](/workers/configuration/cron-triggers/) |
| [Duration](#duration) | No limit | No limit for Workers. <br/>15 min duration limit for [Cron Triggers](/workers/configuration/cron-triggers/), [Durable Object Alarms](/durable-objects/api/alarms/) and [Queue Consumers](/queues/configuration/javascript-apis/#consumer) |

### Duration

Expand Down Expand Up @@ -91,12 +91,12 @@ Scheduled Workers ([Cron Triggers](/workers/configuration/cron-triggers/)) have

## Cache API limits

| Feature | Workers Free | [Bundled](/workers/platform/pricing/#example-pricing-bundled-usage-model) | [Unbound](/workers/platform/pricing/#example-pricing-unbound-usage-model) and [Standard](/workers/platform/pricing/#example-pricing-standard-usage-model) |
| ---------------------------------------- | ------------ | ------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Maximum object size](#cache-api-limits) | 512 MB | 512 MB | 512 MB |
| [Calls/request](#cache-api-limits) | 50 | 50 | 1,000 |
| Feature | Workers Free | Workers Paid
| ---------------------------------------- | ------------ | ------------ |
| [Maximum object size](#cache-api-limits) | 512 MB | 512 MB |
| [Calls/request](#cache-api-limits) | 50 | 1,000 |

- 50 total `put()`, `match()`, or `delete()` calls per-request, using the same quota as `fetch()`.
Calls/request means the number of calls to `put()`, `match()`, or `delete()` Cache API method per-request, using the same quota as subrequests (`fetch()`).

:::note

Expand Down Expand Up @@ -176,7 +176,7 @@ If you make a subrequest from your Worker to a target Worker that runs on a [Cus

### How many subrequests can I make?

The limit for subrequests a Worker can make is 50 per request on the Bundled usage model or 1,000 per request on the Unbound usage model. Each subrequest in a redirect chain counts against this limit. This means that the number of subrequests a Worker makes could be greater than the number of `fetch(request)` calls in the Worker.
You can make 50 subrequests per request on Workers Free, and 1,000 subrequests per request on Workers Paid. Each subrequest in a redirect chain counts against this limit. This means that the number of subrequests a Worker makes could be greater than the number of `fetch(request)` calls in the Worker.

For subrequests to internal services like Workers KV and Durable Objects, the subrequest limit is 1,000 per request, regardless of the [usage model](/workers/platform/pricing/#workers) configured for the Worker.

Expand Down

0 comments on commit 4ae217c

Please sign in to comment.