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

[Feat Add caching using Redis or a custom in-memory cache of your own. #31

Open
abi-sheks opened this issue Dec 12, 2024 · 0 comments
Open
Labels
hard This is a hard issue worth 60 points.

Comments

@abi-sheks
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Frequent database queries to fetch user data, such as roles, statuses, and profile details, can increase database load and impact performance. This is especially problematic for frequently accessed or high-traffic data.

Describe the solution you'd like
Implement a caching layer to store frequently accessed user data in memory. This will:

  • Reduce the number of repetitive database queries.
  • Improve response times for commands and actions that rely on user data.
    It is recommended to use Redis, but you can also write your own cache class and invalidation logic.
@abi-sheks abi-sheks added the hard This is a hard issue worth 60 points. label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hard This is a hard issue worth 60 points.
Projects
None yet
Development

No branches or pull requests

1 participant