Choose a data or storage product
This guide describes the storage & database products available as part of Cloudflare Workers, including recommended use-cases and best practices.
The following table maps our storage & database products to common industry terms as well as recommended use-cases:
Use-case | Product | Ideal for |
---|---|---|
Key-value storage | Workers KV | Configuration data, service routing metadata, personalization (A/B testing) |
Object storage / blob storage | R2 | User-facing web assets, images, machine learning and training datasets, analytics datasets, log and event data. |
Accelerate a Postgres or MySQL database | Hyperdrive | Connecting to an existing database in a cloud or on-premise using your existing database drivers & ORMs. |
Global coordination & stateful serverless | Durable Objects | Building collaborative applications; global coordination across clients; real-time WebSocket applications; strongly consistent, transactional storage. |
Lightweight SQL database |