Cloudflare Workers KV
A global, low-latency, key-value data store for the Cloudflare edge network.
Global Write Propagation
Under 60 seconds
Max Value Size
25 MiB
Max Key Size
512 bytes
Network Presence
320+ cities
About Cloudflare Workers KV
Workers KV allows developers to store and retrieve data at the edge, reducing latency by serving data from a Cloudflare data center near the user. It is ideal for use cases like managing configuration data, A/B testing, and storing static assets. Data is stored centrally and cached at edge locations after the first read. While writes may take up to 60 seconds to propagate globally, reads are highly performant. It integrates seamlessly with Cloudflare Workers, allowing serverless functions to read and write data directly from the edge.
Core Features
Global Distribution
Data is stored in a central location and cached at Cloudflare's edge locations upon first access for low-latency reads.
Eventual Consistency
Changes are guaranteed to be visible across the globe within 60 seconds.
Serverless Integration
Natively integrates with Cloudflare Workers for stateful edge functions.
Api Access
Manage key-value pairs via the Wrangler CLI, the Cloudflare dashboard, or a REST API.
Common Use Cases
Configuration Management
Store and serve dynamic configuration data for applications and serverless functions.
A/B Testing
Manage feature flags or user bucketing for experiments at the edge.
Redirects
Build and manage large lists of redirects without needing to modify application code.
Static Asset Storage
Store and retrieve small static assets like scripts or images directly from the edge.