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

Improve scores feed performance #1

Conversation

cristian-scarisoreanu
Copy link

Fixes: AACraiu#1 scores feed performance issue

Changes

Changed the user_feed method in the Scores controller to use eager loading instead of lazy loading when fetching users from the database.

Before

image

After

image

@cristian-scarisoreanu cristian-scarisoreanu marked this pull request as draft February 18, 2022 08:40
@cristian-scarisoreanu cristian-scarisoreanu marked this pull request as ready for review February 18, 2022 08:46
@cristian-scarisoreanu cristian-scarisoreanu changed the base branch from main to develop September 1, 2023 10:04
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