DEV Community

Tea Reggi
Tea Reggi

Posted on

1

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

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.

API Trace View

Struggling with slow API calls? 👀

Dan Mindru walks through how he used Sentry's new Trace View feature to shave off 22.3 seconds from an API call.

Get a practical walkthrough of how to identify bottlenecks, split tasks into multiple parallel tasks, identify slow AI model calls, and more.

Read more →

Top comments (2)

Collapse
 
pookiepats profile image
pookiepats •

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.

Collapse
 
anywhichway profile image
Simon Y. Blackwell •

This wrapper around DenoKV "upgrades" it to a more powerful indexed database: denodata

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs