Skip to content

Add in-memory caching to leaderboard endpoints - #141

Merged
msaroufim merged 1 commit into
mainfrom
slow_load
Feb 7, 2026
Merged

msaroufim merged 1 commit into
mainfrom
slow_load

Conversation

@msaroufim

Copy link
Copy Markdown
Member

Cache responses from /api/leaderboard-summaries and /api/leaderboard/ with a 60-second TTL to avoid running expensive SQL queries on every request. Follows the same pattern used in the events API.

Cache responses from /api/leaderboard-summaries and /api/leaderboard/<id>
with a 60-second TTL to avoid running expensive SQL queries on every request.
Follows the same pattern used in the events API.
@msaroufim
msaroufim merged commit 7c3ffd0 into main Feb 7, 2026
1 check passed
msaroufim added a commit that referenced this pull request Feb 7, 2026
msaroufim added a commit that referenced this pull request Feb 7, 2026
msaroufim added a commit that referenced this pull request Jun 15, 2026
SinatrasC pushed a commit to SinatrasC/kernelboard that referenced this pull request Jun 17, 2026
Cache responses from /api/leaderboard-summaries and /api/leaderboard/<id>
with a 60-second TTL to avoid running expensive SQL queries on every request.
Follows the same pattern used in the events API.
SinatrasC pushed a commit to SinatrasC/kernelboard that referenced this pull request Jun 17, 2026
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