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

Using sqlite3 as a shared cache between clustered instance #1819

Closed
perki opened this issue Jan 29, 2025 · 1 comment
Closed

Using sqlite3 as a shared cache between clustered instance #1819

perki opened this issue Jan 29, 2025 · 1 comment

Comments

@perki
Copy link

perki commented Jan 29, 2025

Summary

Support for new sqlite3.Database('file:memdb?mode=memory&shared=true');

Proposed implementation

I tried to open an in-memory shared instance of sqlite to have share a cache between clustered node process.

new sqlite3.Database('file:memdb?mode=memory&shared=true'); simply created a file when I was hopping to get the shared-in-memory functionality described on https://www.sqlite.org/inmemorydb.html

Maybe I missed something.. If yes .. any comment is appreciated
Otherwise it would a great feature to add

@perki
Copy link
Author

perki commented Jan 30, 2025

Actually not relevant, sqlite in memory will always be single process

@perki perki closed this as completed Jan 30, 2025
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

1 participant