本页还没有译文
本页 20 段还没译成繁體中文,下面显示的是英文原文。Limits
还没翻译译自英文(developers.cloudflare.com)本页 20 段都还没译
Workers KV
| Feature | Free | Paid |
|---|---|---|
| Reads | 100,000 reads per day | Unlimited |
| Writes to different keys | 1,000 writes per day | Unlimited |
| Writes to same key | 1 per second | 1 per second |
| Operations/Worker invocation 1 | 1000 | 1000 |
| Namespaces per account | 1,000 | 1,000 |
| Storage/account | 1 GB | Unlimited |
| Storage/namespace | 1 GB | Unlimited |
| Keys/namespace | Unlimited | Unlimited |
| Key size | 512 bytes | 512 bytes |
| Key metadata | 1024 bytes | 1024 bytes |
| Value size | 25 MiB | 25 MiB |
Minimum cacheTtl 2 | 30 seconds | 30 seconds |
Workers KV Instant
Note
Workers KV Instant is currently in private beta. To enroll, contact your Cloudflare account team or sign up and tell us about your use case.
| Feature | Limit |
|---|---|
| Writes/namespace | 1 per second |
| Storage/namespace | 1 MB |
| Keys/namespace | 10,000 |
| Key size | 300 bytes |
| Key metadata | Not supported |
| Value size | Any size that keeps the total namespace within 1 MB |
| List pagination | Not supported. All matching keys are returned in one response. |
Additional limits
Need a higher limit?
To request an adjustment to a limit, complete the Limit Increase Request Form. If the limit can be increased, Cloudflare will contact you with next steps.
Free versus Paid plan pricing
Refer to KV pricing to review the specific KV operations you are allowed under each plan with their pricing.
Workers KV REST API limits
Using the REST API to access Cloudflare Workers KV is subject to the rate limits that apply to all operations of the Cloudflare REST API.
Footnotes
-
Within a single invocation, a Worker can make up to 1,000 operations to external services (for example, 500 Workers KV reads and 500 R2 reads). A bulk request to Workers KV counts for 1 request to an external service. ↩
-
The maximum value is
Number.MAX_SAFE_INTEGER. ↩