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

WASM-compatible database crate #841

Open
justinmoon opened this issue Oct 25, 2022 · 5 comments
Open

WASM-compatible database crate #841

justinmoon opened this issue Oct 25, 2022 · 5 comments
Labels
db Database
Milestone

Comments

@justinmoon
Copy link
Contributor

justinmoon commented Oct 25, 2022

@maan2003 wrote an initial WASM-compatible database implementation a couple months ago, based on Rexie. It's currently used by webimint. It would be nice if this implementation was upstreamed to this repo so that it's maintained more diligently.

@justinmoon justinmoon changed the title IndexedDB database crate WASM-compatible database crate Oct 25, 2022
@justinmoon justinmoon added the db Database label Jan 20, 2023
@m1sterc001guy
Copy link
Contributor

Now that we have SQLite support I don't think we need to upstream Rexie. Should we wait to close until we've tested SQLite in WASM?

@justinmoon
Copy link
Contributor Author

justinmoon commented Jan 23, 2023

Made a new issue for SQLite in WASM. Let's leave this open until we resolve that. Sounds preferable!

@justinmoon justinmoon added this to the 0.2 milestone Oct 27, 2023
@justinmoon justinmoon modified the milestones: 0.2, 0.2.1 Nov 1, 2023
@elsirion
Copy link
Contributor

elsirion commented Nov 1, 2023

Webimint has a hacky version of this: https://github.com/elsirion/webimint-rs/blob/master/src/db.rs

Just needs to be extracted into a crate.

@tvolk131
Copy link
Member

@elsirion is your webkv project relevant here?

@elsirion
Copy link
Contributor

Yes, that's exactly the idea behind webkv. I already have a Fedimint DB impl using it, but needs more testing and docs. I experienced a deadlock in webimint, unclear if caused by webkv or fedimint-client and it's hard to debug on the web, need to get back to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
db Database
Projects
Status: No status
Development

No branches or pull requests

4 participants