From 4ae217cce22a42f2e9684262a75374f0525b731e Mon Sep 17 00:00:00 2001 From: Brendan Irvine-Broque Date: Wed, 16 Oct 2024 07:27:49 -0700 Subject: [PATCH] Simplify limits to remove Bundled and Unbound references So that people don't get mixed up, our docs are confusing right now https://x.com/MicheleRivaCode/status/1846489096547713274 --- src/content/docs/workers/platform/limits.mdx | 28 ++++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/content/docs/workers/platform/limits.mdx b/src/content/docs/workers/platform/limits.mdx index 6e974ae76d6c81..affe56b891585d 100644 --- a/src/content/docs/workers/platform/limits.mdx +++ b/src/content/docs/workers/platform/limits.mdx @@ -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)),
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
connections/request](#simultaneous-open-connections) | 6 | 6 | | [Environment variables](#environment-variables) | 64/Worker | 128/Worker | | [Environment variable
size](#environment-variables) | 5 KB | 5 KB | @@ -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
1000 requests/min | none | none | -| [Worker memory](#memory) | 128 MB | 128 MB | 128 MB | -| [CPU time](#cpu-time) | 10 ms | 50 ms HTTP request
50 ms [Cron Trigger](/workers/configuration/cron-triggers/) | 30 s HTTP request
15 min [Cron Trigger](/workers/configuration/cron-triggers/) | -| [Duration](#duration) | None | none | 15 min [Cron Trigger](/workers/configuration/cron-triggers/)
15 min [Durable Object Alarm](/durable-objects/api/alarms/)
15 min [Queue Consumer](/queues/configuration/javascript-apis/#consumer) | +| Feature | Workers Free | Workers Paid | +| ------------------------ | ------------------------------------------ | ---------------- | +| [Request](#request) | 100,000 requests/day
1000 requests/min | No limit | +| [Worker memory](#memory) | 128 MB | 128 MB | +| [CPU time](#cpu-time) | 10 ms | 30 s HTTP request
15 min [Cron Trigger](/workers/configuration/cron-triggers/) | +| [Duration](#duration) | No limit | No limit for Workers.
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 @@ -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 @@ -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.