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

Cache Top-unread notification in the navar for better performance. #16641

Merged
merged 9 commits into from
Sep 1, 2024

Conversation

MikeAlhayek
Copy link
Member

Calculating the unread notification on every request is costly on database severs. In this PR, we improve performance by caching the unread notification for the user by default.

Also, we use compiled query to query the database to help SQL Server to not generate an execution place on every query.

@MikeAlhayek MikeAlhayek marked this pull request as draft August 31, 2024 00:15
@MikeAlhayek MikeAlhayek marked this pull request as ready for review August 31, 2024 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants