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

documents: Allow for SQLLite WASM backend #275

Open
marcus-pousette opened this issue Feb 12, 2024 · 2 comments
Open

documents: Allow for SQLLite WASM backend #275

marcus-pousette opened this issue Feb 12, 2024 · 2 comments

Comments

@marcus-pousette
Copy link
Member

marcus-pousette commented Feb 12, 2024

Problem
Currently you run into RAM usage problem when having many documents because the document store index is in memory. Additionally, the query performance is very bad if there are many documents

Solution
Use SQLLite WASM as an alternative backend together with OPFS storage

TODO

  • Make abstraction around index search engine
  • Implement a SQLLite WASM engine for this engine abstraction

#274

@marcus-pousette
Copy link
Member Author

marcus-pousette commented Mar 6, 2024

Blocked by sqlite/sqlite-wasm#48

Looking for alternatives how to glue this together to work in all envs

@marcus-pousette
Copy link
Member Author

Way forward
For browsers: wa-sqlite
For node native: sqlite3

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

1 participant