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 missing indexes #138

Merged
merged 2 commits into from
Dec 1, 2023
Merged

feat: add missing indexes #138

merged 2 commits into from
Dec 1, 2023

Conversation

Th0rgal
Copy link
Member

@Th0rgal Th0rgal commented Nov 23, 2023

This branch job is to improve the performances of the leaderboard. After already improving it via materialized view, it is still quite slow. Here is what I see on the website:

image

Todo in a future pr:

  1. Ensure queries are not ran twice on the frontend
  2. Identify what is expensive in get_static_info and try to improve it or drop it
  3. Try to optimize leaderboard furthermore by keeping it in RAM or cached in the frontend

@Th0rgal Th0rgal added the 🔥 Ready for review This pull request needs a review label Nov 23, 2023
@Th0rgal Th0rgal added 🔥 Ready for review This pull request needs a review and removed 🔥 Ready for review This pull request needs a review labels Nov 26, 2023
@Th0rgal Th0rgal assigned Th0rgal and unassigned ayushtom Dec 1, 2023
@ayushtom ayushtom merged commit 5913428 into master Dec 1, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔥 Ready for review This pull request needs a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants