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

Cache station list #154

Closed
jdemaeyer opened this issue Sep 2, 2023 · 1 comment
Closed

Cache station list #154

jdemaeyer opened this issue Sep 2, 2023 · 1 comment

Comments

@jdemaeyer
Copy link
Owner

The dwd.de website had a prolonged intermittent outage this week. Even though the open data server had no availability issues, this led to our data becoming stales because we

a) load the station list when starting the worker, and
b) frequently restart the worker in a cronjob on the production server.

We should cache this station list on the file system and fall back to that if dwd.de is unavailable. We could also consider disabling the cronjob as the memory issues it was a workaround for are now gone. I'm leaning towards leaving that one active though, as it's still a nice failsafe against unexpected hiccups during processing (at least once we added station list caching).

@jdemaeyer
Copy link
Owner Author

2cceed6

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

No branches or pull requests

1 participant