Redesigning Workers KV for increased availability and faster performance
Aug 8, 2025Alex Robinson, Tyson Trautmann

Summary
This post details the complete redesign of Workers KV, a critical key-value store, following a major outage caused by reliance on a third-party cloud provider. The new architecture shifts to Cloudflare's own infrastructure, using a distributed database for small objects and R2 for larger ones, ensuring high availability, eliminating single points of failure, and improving performance. This represents a significant architectural shift for a core service.
More from the Asynchronous Messaging & Queuing trail
- Announcing Cloudflare K2: serverless event streams
- How we built saga rollbacks for Cloudflare Workflows
- Rearchitecting the Workflows control plane for the agentic era
- Durable Objects in Dynamic Workers: Give each AI-generated app its own database
- Building a better testing experience for Workflows, our durable execution engine for multi-step applications