-
Notifications
You must be signed in to change notification settings - Fork 17
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
Request cache stopped working? #132
Comments
ObservationsOn the previous version 0.18.0, everything works as expected.
Cold-cache situations are expensive, right.
With a warm cache, on subsequent invocations, the program still needs time to load the data from the database into memory, but at least it doesn't have to go to the network again.
EvaluationThis issue blocks the upcoming release, but it has no urgency. |
Dear @Ousret, thank you for sharing more insights about how to properly work with requests-cache at #130 (comment). Other than making it more beautiful, do you think it will help to make it work at all? We will be happy to try right away, thanks. With kind regards, |
After applying a few fixes, getting the chaos of session management right, we are back to more reasonable numbers when invoking grafana-wtf subsequently on play.grafana.org, which means the response cache works again. Thanks for your suggestions, @Ousret.
|
That patch has a corresponding fix. |
Problem
It looks like the request cache stopped working? When invoking grafana-wtf on play.grafana.org, the program requests data over and over again. That is especially hard on such a huge Grafana installation, where it takes almost one and a half minutes to acquire all the metadata.
Thoughts
Is it related to the switchover to Niquests, because it does not harmonize with requests-cache well, yet?
/cc @Ousret
The text was updated successfully, but these errors were encountered: