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

[Feature Request]: mark database as read-only to allow parallel concurrent reads #3783

Open
sam-bercovici opened this issue Feb 13, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@sam-bercovici
Copy link

Describe the problem

The documentation says that when using in memory instance, it will lock when trying to read data from the same index concurrently.
If I can "lock"/mark that database that its intended use is read only, is there a way to enable concurrent reading?

Describe the proposed solution

when opening a database, mark that its read-only.
This may allow to have concurrent ready.

This works well when the database files are "frozen" and will not be concurrently updated while reading from the database.

Alternatives considered

No response

Importance

nice to have

Additional Information

No response

@sam-bercovici sam-bercovici added the enhancement New feature or request label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant