Skip to content

Cache the historical comparison JSON for 30 minutes - #85

Merged
mattip merged 1 commit into
python:speed.pypy.orgfrom
StanFromIreland:cache
Oct 1, 2026
Merged

mattip merged 1 commit into
python:speed.pypy.orgfrom
StanFromIreland:cache

Conversation

@StanFromIreland

Copy link
Copy Markdown
Member

This will speed up loading the chart, to speed it up for viewers. A 30 minute maximum discrepancy shouldn't be too much of a problem.

Note that speed.pypy.org is down currently due to python/psf-salt#618...

@StanFromIreland
StanFromIreland requested a review from mattip October 1, 2026 08:19
@mattip

mattip commented Oct 1, 2026

Copy link
Copy Markdown

Haha, so the page now shows a 503. Is there a django fallback for "show the last image if the cache update fails"?

@StanFromIreland

Copy link
Copy Markdown
Member Author

Not in the current situation, the load balancer won't send anyone to the server running speed.pypy.org, so whatever we do there will have no effect. It'll hopefully be resolved soon once someone from the infra team wakes up.

@StanFromIreland

Copy link
Copy Markdown
Member Author

Thanks to Ee, we're back: https://speed.pypy.org/ 🥳

@mattip
mattip merged commit 3bc709b into python:speed.pypy.org Oct 1, 2026
1 check passed
@mattip

mattip commented Oct 1, 2026

Copy link
Copy Markdown

Thanks @StanFromIreland

@StanFromIreland
StanFromIreland deleted the cache branch October 1, 2026 14: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.

2 participants