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

Use Read Write Lock for DB #83

Open
the123saurav opened this issue Dec 18, 2021 · 0 comments · May be fixed by #85
Open

Use Read Write Lock for DB #83

the123saurav opened this issue Dec 18, 2021 · 0 comments · May be fixed by #85
Assignees
Labels
enhancement New feature or request performance
Milestone

Comments

@the123saurav
Copy link
Contributor

the123saurav commented Dec 18, 2021

Currently we are using an exclusive lock for DB.
However we can allow multiple readers on the DB as they do not change the underlying store.
The idea is to use exclusive lock for writers and shared lock for read queries.

Acceptance Criteria:
Run redis-benchmark on few commands

@the123saurav the123saurav self-assigned this Dec 18, 2021
@the123saurav the123saurav added enhancement New feature or request performance labels Dec 18, 2021
@tuhuynh27 tuhuynh27 linked a pull request Dec 19, 2021 that will close this issue
@tuhuynh27 tuhuynh27 added this to the First Release milestone Dec 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request performance
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants