11 comments

[ 3.3 ms ] story [ 36.3 ms ] thread
Hey - I am one of the engineers that works on Deno KV. Happy to answer questions.
I'm a little confused by the docs - is there a way to host the Deno KV datastore locally, or is the "run locally" option only for accessing a store hosted by Deno Land Inc on self-hosted hardware?
You can use Deno KV locally - the underlying tech is SQLite. It's as simple as writing code and you don't need to spin up any databases or setup any connections.
Hey Luca!

Is the data stored in all regions at all times?

Also, what about pricing?

Engineer working on Deno KV here :)

> Is the data stored in all regions at all times?

Data is always replicated to three of our "big" regions currently. Extending the list of storage regions and providing more flexible data distribution configuration is one of the next things we want to do.

> what about pricing?

During the closed beta it's free with a 1 GiB per project limit.

Pushing branch code in a Deploy enabled project automatically creates a branch deployment in Deploy (awesome feature by the way). Will this branch deployment share the same KV store as the main branch? Or does each separate branch build have their own KV store?
All branch deployments share one store.

All main deployments share a different store.

How has the experience building on top of FoundationDB?

I've always thought it deserved to be used more widely so intrigued to see it pop up here.

Engineer working on Deno KV here. Building on FDB is mostly a pleasant experience since it solves the hard part of the problem for us (concurrency control and persisting mutations).

We sometimes run into its limitations - the way we are using FDB is a bit beyond what it was originally designed for. But when it works, it works great.