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

There's a relatively well-documented

There's a relatively well-documented issue with writing to KV where metadata is supposedly optional, but required in the type definition within the cloudflare-typescript library. Easy, right? Just pass in a dummy empty metadata object on your writes to KV! WRONG!! If you just do that, your value gets stored in KV as an object like { value: XYZ, metadata: {}}. Not super intuitive, I'd rather just store XYZ. So then I learned:...
No description

Do KV key expirations count as deletes

Do KV key expirations count as deletes for billing purposes?

Hello everyone,

Hello everyone, I'm encountering an issue with the Cloudflare Worker KV where I get an empty array when trying to retrieve multiple keys at once. When I run the following code, it returns an empty array:...

hi guys, will Cloudflare eventually

hi guys, will Cloudflare eventually support bulk delete or bulk put in cloudflare KV using in Workers? CF workers has a limitation of 6 concurrent connection at the same time and it's really painful to bulk put like 20 - 30 items using the SDK in workers.

because it's not a worker and I don't

because it's not a worker and I don't have my app deployed on workers because it is too much work for this simple, single use case

Does KV have any native backup systems

Does KV have any native backup systems by chance or is it expected to do this on your own?

hey guys

hey guys I was wondering if there's a way, possibly through a support ticket, to get a dump of a KV namespace I have tried exporting the data via a script, but since the API only allows reading 100 records at a time, and I have 1.96M keys, it's gonna take ages 😅 Is there a better way?...

i was trying to build a POC where i

i was trying to build a POC where i wanted to add items as a tree. keys would be /master/child1, /master/child2 and then i would call list with /master/ prefix to get the child item keys and since the doc says list will always return keys in alphabetical order, i was hoping when delete child1, the next list1 call would return /master/child2 as the first item. however, for about a minute the list calls keep returning /master/child1. is this the expected behavior? i was making the list calls from...

Got it. Need to build first. I guess --

Got it. Need to build first. I guess --remote requires the built project.

Hey, quick question, the credentials for

Hey, quick question, the credentials for the KV when we move things to prod? Am I suppose to add it to the env vars, but how can I retrieve those

Not to throw my own engineer under the

Not to throw my own engineer under the bus, but he says " Hyperdrive is just a connection pooler with a very light caching layer. It makes connecting to postgres quick yes, but not a true caching layer like KV." -- it sounds like we have some fundamental misunderstanding of the product difference?

Is the removal of the API rate limit

Is the removal of the API rate limit just for the KV endpoints? Or is there a more general discussion around removing that limit altogether

👋 Hi, I have a question about Metrics

👋 Hi, I have a question about Metrics and how to interpret them. OI the image, there is read latency of our KV store. Is this correct interpretation? - P99 390ms: means that 99% of read operations are done under 390ms - P50 18ms: means that 50% of read operations are done under 18ms...
No description

Is Cloudflare KV a good option for low-

Is Cloudflare KV a good option for low-latency needs, should I use it in Next.js and NestJS? We need to add it directly; we can't use the KV because it's causing latency. Is there any way to avoid this?

Is there an ongoing incident with KV?

Is there an ongoing incident with KV? Getting 500s from workers->KV

In my experience, list is fast enough

hello here, I can't find correct information online, is the list() function performant, or should I implement some sort of indexes inside an object instead of relying on list() ?

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?
Next