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

Find in-memory DB implemented on JS #61

Open
vitonsky opened this issue Mar 9, 2024 · 1 comment
Open

Find in-memory DB implemented on JS #61

vitonsky opened this issue Mar 9, 2024 · 1 comment
Labels
meta Something related to project in total priority:high refactoring

Comments

@vitonsky
Copy link
Owner

vitonsky commented Mar 9, 2024

To make able run app in browser, we need in-memory DB implemented on javascript.

DB must be in-memory, because we can't keep unencrypted data on disk or any persistent storage like indexedDB. Any persistent storage may potentially preserve secret data forever.

DB must be implemented on javascipt (and written on typescript ideally), because WASM implementations are non stable according to issues on their repositories. The most common problem is memory crash.

Candidates

Too young projects. Just to follow on progress

@vitonsky vitonsky added epic A long-term tasks list refactoring priority:high meta Something related to project in total and removed epic A long-term tasks list labels Nov 6, 2024
@vitonsky vitonsky pinned this issue Nov 6, 2024
@vitonsky
Copy link
Owner Author

PGlite has been tested in nano-queries project, it works fine.

They have problem with jest electric-sql/pglite#224 but it works fine with vitest as explained in comment electric-sql/pglite#224 (comment)

Preliminary verdict is PGlite have some community, contributors looks adequate, issues lives until they will be solved, but not just because somebody want to minimize a number, project have documentation. In total, PGlite looks like good solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta Something related to project in total priority:high refactoring
Projects
None yet
Development

No branches or pull requests

1 participant