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

Async LocalStorage (transactionless key-value API over IDB) #91

Closed
nolanlawson opened this issue Sep 22, 2016 · 5 comments
Closed

Async LocalStorage (transactionless key-value API over IDB) #91

nolanlawson opened this issue Sep 22, 2016 · 5 comments

Comments

@nolanlawson
Copy link
Member

This is a thing that webdevs perennially ask for, mostly because of ergonomics.

Would such an API also have any performance benefits due to the lack of transaction overhead? Is there overhead? Would this be a moot point because it would have to live alongside transaction-ful code anyway?

See also:

@inexorabletash
Copy link
Member

@nolanlawson
Copy link
Member Author

Hah yes, I totally forgot that you proposed this already. One step ahead of me. 😃

@domenic
Copy link
Contributor

domenic commented Apr 11, 2018

Hey, I've got a proposal for this that I think is pretty complete: https://domenic.github.io/async-local-storage/ . Many thanks to @inexorabletash for guiding me through various IDB intricacies.

This is specifically done as a layered API, since it does not need any features not already found in IDB, and so can take advantage of the infrastructure there.

Let me know what you think, and feel free to file issues on the tracker or chime in on existing discussions there!

@inexorabletash
Copy link
Member

Also pinging @aliams on this topic.

@inexorabletash
Copy link
Member

Closing out in favor of https://wicg.github.io/kv-storage/

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

No branches or pull requests

3 participants