Hi, I’m a Cloudflare workers enjoyer.
I want to use KV storage like a NoSQL database.
I will use the term collection
to tell.
I ended up two methods to use KV.
- Creating a new KV namespace for each collection.
- Using a single KV namespace and prefixing all keys with the associated collection name.
I would like to ask; Which one is the best practice?, or Are there any advantages or disadvantages between them?
I’m not sure that here is a good place to ask this kind of question.