Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KV store #76

Closed
vwkd opened this issue Aug 1, 2021 · 3 comments
Closed

KV store #76

vwkd opened this issue Aug 1, 2021 · 3 comments

Comments

@vwkd
Copy link

vwkd commented Aug 1, 2021

Couldn't find an issue for this yet. I'm sure this is on your radar but a KV store to persist simple data similar to Cloudflare Workers KV would be nice!

@wperron
Copy link

wperron commented Aug 2, 2021

This is definitely on the roadmap, but no ETA yet.

@adaptive
Copy link

adaptive commented Sep 1, 2021

@wperron I built @adaptivelink/kv it can be used on Cloudflare and Deno Deploy today.

@vwkd vwkd changed the title KV store Storage API Oct 10, 2021
@vwkd vwkd changed the title Storage API KV store Oct 10, 2021
@vwkd
Copy link
Author

vwkd commented Oct 11, 2021

A "KV store similar to Cloudflare Workers KV" may actually not be the right thing to ask for. I intended to ask for storage local to a Worker and probably you understood me as well. But CF's Workers KV is not storage local to a Worker.

Workers KV is storage local to a location. It is implemented as a special Worker with file system access. All Worker instances at a location can access the instance of the special Worker at that location 1. This is why there need to be IDs, bindings, config files, etc.

To not confuse things, I'll close this issue and open a better worded for a Storage API #110.

Footnotes

  1. “[Workers KV] is itself implemented as a worker”. Source: https://news.ycombinator.com/item?id=18093901

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants