/plushcap/analysis/cloudflare/faster-workers-kv-architecture

Workers KV is faster than ever with a new architecture

What's this blog post about?

Cloudflare has announced a new performance improvement for its Workers KV offering, which is designed to significantly reduce latency for developers using the service. The update involves introducing a decoupled cache TTL and consistency parameters, as well as improvements in consistency and worst-case latency. These updates are expected to benefit all users without requiring any redeployment or changes to their existing applications. The new caching layer built by Cloudflare helps developers reduce latency while maintaining data consistency across regions. The architecture is designed to be flexible enough to add further enhancements in the future, including features such as setting the consistency TTL parameter for sub one minute consistency, a best effort global purge feature, and exposing this new caching layer as a general Worker binding anyone can use within a Worker in front of their own service or to put in front of their Worker. Workers KV is a native API provided by Cloudflare that enables any Worker script to read, write, list, and manage storage. It also offers a REST API for interaction with HTTP requests from any client capable of making such requests. The Cloudflare Dashboard provides an easy way for users to create, list, and delete keys for use with the rest of their Workers setup. With these updates, Cloudflare aims to provide developers using its Workers KV service with a faster, more efficient experience that will help them build better applications more quickly.

Company
Cloudflare

Date published
June 21, 2023

Author(s)
Charles Burnett, Vitali Lovich

Word count
2458

Language
English

Hacker News points
8


By Matt Makai. 2021-2024.