Thomas Reggi's Profile Image

@thomasreggi 🌸

Deno's New Built-In Key-value Database "KV"

April 20, 2023 (Syndicated From dev.to)

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.