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

Fix n+1 queries scores feed performance issue #1

Closed

Conversation

costinaandrici
Copy link
Owner

@costinaandrici costinaandrici commented Aug 1, 2022

Fixes: scores feed performance

Changes

Until now, the Lazy loading used when getting the scores feed was causing extra queries to be executed N+1 problem

Before

Queries executed with lazy loading:
Screenshot 2022-08-01 at 12 37 03

After

Queries executed with eager loading:
Screenshot 2022-08-01 at 12 36 02

@costinaandrici costinaandrici changed the base branch from main to develop August 3, 2022 13:38
@costinaandrici costinaandrici changed the base branch from develop to main August 3, 2022 14:06
@costinaandrici costinaandrici deleted the hotfix/fix-scores-feed-performance-issue branch August 4, 2022 08:16
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.

Improve scores feed performance
1 participant