Skip to content

Commit 45fdfd1

Browse files
committed
applying matt recc
1 parent 978a267 commit 45fdfd1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/content/docs/kv/concepts/how-kv-works.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,9 @@ Workers KV is an eventually-consistent edge key-value store. That makes it ideal
6969

7070
In these scenarios, Workers are invoked in a data center closest to the user and Workers KV data will be cached in that region for subsequent requests to minimize latency.
7171

72-
For **write-heavy** workloads (or workloads that are less cacheable), using Workers with [smart placement](/workers/configuration/smart-placement/) and Workers KV or [Durable Objects](/durable-objects/) can reduce application latency by placing Workers closer to the central data stores.
73-
This could behave more similarly to a typical web architecture using a co-located in-memory store like [Redis](https://redis.io). Workers KV's key-value update per second [limits](/kv/platform/limits) and minimum [`cacheTtl`](/kv/api/read-key-value-pairs/#cachettl-parameter) may also apply to write-heavy workloads.
72+
If you have a **write-heavy** [Redis](https://redis.io)-type workload where you are updating the same key tens or hundreds of times per second, KV will not be an ideal fit.
73+
If you can revisit how your application writes to single key-value pairs and spread your writes across several discrete keys, Workers KV can suit your needs.
74+
Alternatively, [Durable Objects](/durable-objects/) provides a key-value API with higher writes per key rate limits.
7475

7576
## Security
7677

0 commit comments

Comments
 (0)