5 ms·
Deno KV
- lucacasonato 3y agoHey - I am one of the engineers that works on Deno KV. Happy to answer questions.
- spiffytech 3y agoI'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?
- lambtron 3y agoYou 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.
- pier25 3y agoHey Luca! Is the data stored in all regions at all times? Also, what about pricing?
- losfair 3y agoEngineer 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.
- pier25 3y agoThanks! What's the size limit of a value?
- cknight1234 3y agoFrom the API docs (https://deno.land/api@v1.33.1?unstable&s=Deno.Kv https://deno.land/api@v1.33.1?unstable&s=Deno.Kv): "Keys have a maximum length of 2048 bytes after serialization. Values have a maximum length of 64 KiB after serialization."
- cknight1234 3y agoPushing 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?
- lucacasonato 3y agoAll branch deployments share one store. All main deployments share a different store.
- msmithstubbs 3y agoHow 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.
- losfair 3y agoEngineer 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.