keva-dev / keva-dev/keva

Use Read Write Lock for DB

Open
#83 0 comments 0 reactions 1 assignee View on GitHub

@the123saurav is already working on this.

Since Dec 18, 2021.

  • #85 by @tuhuynh27 — open
enhancement performance
Dominant language
Java
Stars
109
Forks
11
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.