5 ms·
Deno KV has a maximum record size of 64Kib [1] which is pretty severe. Compare with 25Mib for Cloudflare Worker KV [2]. It can be worked around, but it will mak
by skybrian 3y ago
Deno KV has a maximum record size of 64Kib [1] which is pretty severe. Compare with 25Mib for Cloudflare Worker KV [2]. It can be worked around, but it will make your design more complex if you have potentially large textareas, let alone images. Hopefully it will be raised by the time Deno KV gets out of beta.
[1] https://deno.land/api@v1.43.2?s=Deno.Kv https://deno.land/api@v1.43.2?s=Deno.Kv
[2] https://developers.cloudflare.com/kv/platform/limits/ https://developers.cloudflare.com/kv/platform/limits/
- pier25 3y agoI big issue with Cloudflare KV (and Workers too) is that values do not persist at the edge. They are copied on demand much like a CDN and then expired after some time. This works great when you have a ton of traffic but sucks when you want consistent good performance with erratic traffic. I wish CF had a premium tier where both Workers and KV would persist the the edge.
- kentonv 3y agoDurable Objects persist at the edge.
- pier25 3y agoso when you make a change it's replicated to all regions?
- sorenbs 3y agoNo. A DO only exists in a single edge location. That's the entire point of Durable Objects. D1 will replicate soon, but doesn't do so yet. My understanding is that it will replicate to ~5 locations and keep these locations fresh.
- ec109685 3y ago* An edge,