Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

Is there a way to turn off replication

Is there a way to turn off replication from one of the central stores, and only keep things in the EU? (GDPR compliance)

I racked up 700K (free plan) delete

I racked up 700K (free plan) delete operations testing worst case cleanup operations, then 1.27M with a paid plan. The paid plan includes 1M deletes, so will I be charged fractionally for 270k deletes? Or rounded up to $5?...
No description

Caching vs expiration

For example I do: ``` const [key, value] = ["something", "whatever"] ...

Scheduled! First time doing this, would

Scheduled! First time doing this, would it be on discord?

QQ : Can "Storage" for "Workers KV per

QQ : Can "Storage" for "Workers KV per Namespace" store 200GB of data ? .. Limits section says "Unlimited", but still want this to be confirmed .

Requests from around the world, pretty

Requests from around the world, pretty higher than expected
No description

How Cloudflare KV Billing Works for .list()

Following is my Question and Answer(given by ChatGPT) Please confirm / update the Answer given by ChatGPT. Thanks. QUESTION : In the following Cloudflare Worker Code to List by Prefix .. how will the billing happen ? .. billing only for the Keys which are read and correspond to prefix or billing for complete scan of the KV namespace ?...

guys i have a hono project , when i

guys i have a hono project , when i tried to get a kv key but return null even though already binding, it work fine when in cli too, didn tknow why this happen

Are KV updates instant? For what I read

Are KV updates instant? For what I read. I think it take sup to 60 seconds to propagate to other regions, but in the user's region, the Update & Read should be consistent and almost instant?

I admit that more a half are cold reads

I admit that more a half are cold reads, but compare to โ€ฆ CDN cache read? Thatโ€™s too much for KV

how can I delete a key ? I just saw in

how can I delete a key ? I just saw in the doc the method put and get

hey there - has the behavior with KV

hey there - has the behavior with KV changed recently? we are getting KV hits for deleted key-pairs some context: - the key has a cacheTTL of 24h - we delete the key through the REST API...

Hi folks, I have a question, I came from

Hi folks, I have a question, I came from traditional Node.js Express REST apis that caches with mysql database data with Redis, so I don't know if I understand KV well, but it's like Redis and is good to use it to cache database list results for performance improvement, or is D1 enough for this purpose? Or the purpose of KV is cache the entire response from a Worker?

Hi - Is there a difference in the below

Hi - Is there a difference in the below two calls? I'm getting two different results for const value = await env.NAMESPACE.list({ prefix: "testing" }); vs...

Perhaps I'm not being clear enough โ€”

Perhaps I'm not being clear enough โ€” when we were seeing these errors, we were doing perhaps 5 requests in a 5 minute period, which should be safe enough given the 1200 limit?

Well, this guide looks to be from back

Well, this guide looks to be from back when Workers Sites were still a thing. You can use Assets now for free asset serving

Does anyone have a reference code on how

Does anyone have a reference code on how to create a full export of a kv namespace? I am trying to write one myself but I am running into a lot of different issues, ranging from invalid cursors to max subrequest errors and/or inconsistent results. The kv I am testing with shows about 8.5k records in the cloudflare ui where I am already running into issues, the different production kv I will need to export will have around 144k entries so I am a bit worried about being able to export it successfully. My use-case is that we have a kv setup with redirects (key is the original url, target url is the value of the kv record), with data imported overtime from multiple files and we now sadly lack a "master file" with all our data. So to create this masterfile I want to export the current state of the kv into a csv so that the data can be analysed by business users in excel....

Durable Objects aren't just durable, the...

I just read: https://blog.cloudflare.com/how-we-built-cloudflare-queues/ Also the part "Workers KV acts as a fast metadata store: our Worker can quickly look up the shard map to perform load balancing across shards" How can they use KV for that, as KV has a 60 second delay to update after writing? Won't the entire infrastructure have a 60 second delay to understand what the state is and how would the be able to update that state?...

Can you all DM me your Workers account

Can you all DM me your Workers account id and KV namespace id

I am using the binding API. I would also

I am using the binding API. I would also like to add that it's not only latency. For me in some cases the values are never written.
Next