kv is really slow to propagate when i

kv is really slow to propagate when i have my backend reading it it takes sometimes 3 minutes to get a new value. should i keep using KV or is there some solution?
4 Replies
thomasgauvin
thomasgauvin5mo ago
what's your use case/what are you using KV for? do you need strong consistency? have you tried reducing the cache ttl https://developers.cloudflare.com/kv/api/read-key-value-pairs/#cachettl-parameter ?
Cloudflare Docs
Read key-value pairs · Cloudflare Workers KV
To get the value for a given key, call the get() method on any KV namespace you have bound to your Worker code:
hugo
hugo5mo ago
i am a recurrent job pushing values to KV that do not ever need backup usually small strings like update date i did not try that yet, thanks for the tip i will try to implement it
hugo
hugo5mo ago
should i still look into that? because i am looking towards getting the new data every minute
No description
thomasgauvin
thomasgauvin5mo ago
pinged you for more details + questions on how you're planning to use it
Want results from more Discord servers?
Add your server