I just learned about a new feature in Deno and I wanted to share it with y'all. It's a built-in database called "KV" which aptly stands for key-value.
https://deno.land/manual@v1.32.5/runtime/kv
Checkout Ryan Dahl's talk here where he demos the feature (this video autoplays at 14:34)
I'm super excited about this feature. I believe that Deno has done something really special here. As a company, Deno is unique. They have the ability to bake in useful features into the runtime that become superhuman when deployed on their cloud platform, Deno Deploy, similar to the relationship that Vercel has with Next.js. The API for KV can work with SQLite locally and can be hijacked on the cloud platform to work with distributed FoundationDB. This is genius. Overall, I'm happy that Deno is adding useful features to the runtime that will help developers build apps quickly.
Top comments (2)
Super agree. I think it's a very underrated feature, but smart devs will start to learn it now (like me) hehe.
Really though, it has been compared to Next KV but that's a framework (or at best - a platform).
Deno is a RUNTIME. This isn't the first time a DSL has done this but on the web, on the EDGE - you're so right they are killing it. Big brains over there.
This wrapper around DenoKV "upgrades" it to a more powerful indexed database: denodata