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

Refresh global leaderboard top score cache on interval #32

Merged
merged 2 commits into from
Apr 14, 2024

Conversation

Syriiin
Copy link
Owner

@Syriiin Syriiin commented Apr 14, 2024

What?

Add scheduled task to keep global leaderboard top score cache updated.

Why?

Even with the page caching, the first load can time out on heavy leaderboards.
Using low level caching and a scheduled task to keep it up to date should resolve the slowness at the expense of data freshness.

Changes

  • Change the global leaderboard score cache to low level caching
  • Add scheduled task to update global leaderboard score cache

@Syriiin Syriiin merged commit a32aa68 into master Apr 14, 2024
3 checks passed
@Syriiin Syriiin deleted the better-global-leaderboard-score-cache branch April 14, 2024 09:10
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.

1 participant