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 the Performance of Rating History API #872

Open
nour-massri opened this issue Jan 2, 2025 · 0 comments
Open

Improve the Performance of Rating History API #872

nour-massri opened this issue Jan 2, 2025 · 0 comments
Assignees
Labels
module: backend Related to the Siarnaq backend module module: devops Related to deployments and other operations priority: p1 critical triage New or unclassified issue

Comments

@nour-massri
Copy link
Member

After the first successful release of the new frontend that contains additional features including rating history for the top 10 teams and rating history for each team graphs. However the API call to retrieve the data to draw these graphs is too slow which resulted in turning off these graph functionalities for now.
Possible solutions:

  • Cache API responses and recalculate periodically, a straightforward solution but will provide stale data.
  • Cache responses and recalculate affected values whenever a new ranked match is added
  • Optimize the database request
@nour-massri nour-massri added priority: p1 critical module: backend Related to the Siarnaq backend module triage New or unclassified issue module: devops Related to deployments and other operations labels Jan 2, 2025
@nour-massri nour-massri self-assigned this Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: backend Related to the Siarnaq backend module module: devops Related to deployments and other operations priority: p1 critical triage New or unclassified issue
Projects
None yet
Development

No branches or pull requests

1 participant