-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Data cache #179
Comments
I've used flask-cache before, works as a decorator on a web view. Query level might be more targeted. I'd like for it to be parametrizable at the application / DB / dataset / dashboard / slice level, where it goes up the chain of defaults with the right fallback rule. It needs to support a wide variety of backends (memcache, redis, filesystem, ..,). The UI should also be upfront about how old the cache is (icon with tooltip, |
Agree, So a cache wrapper we can extend later with multiple providers, will it do the job?. Nice idea about adding the info in a tooltip. |
HI @mistercrunch, |
Yeah we're done here :) |
…pache#179) Updates the requirements on [fast-glob](https://github.com/mrmlnc/fast-glob) to permit the latest version. - [Release notes](https://github.com/mrmlnc/fast-glob/releases) - [Commits](mrmlnc/fast-glob@2.2.6...3.0.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
…pache#179) Updates the requirements on [fast-glob](https://github.com/mrmlnc/fast-glob) to permit the latest version. - [Release notes](https://github.com/mrmlnc/fast-glob/releases) - [Commits](mrmlnc/fast-glob@2.2.6...3.0.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
…pache#179) Updates the requirements on [fast-glob](https://github.com/mrmlnc/fast-glob) to permit the latest version. - [Release notes](https://github.com/mrmlnc/fast-glob/releases) - [Commits](mrmlnc/fast-glob@2.2.6...3.0.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
…pache#179) Updates the requirements on [fast-glob](https://github.com/mrmlnc/fast-glob) to permit the latest version. - [Release notes](https://github.com/mrmlnc/fast-glob/releases) - [Commits](mrmlnc/fast-glob@2.2.6...3.0.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
…pache#179) Updates the requirements on [fast-glob](https://github.com/mrmlnc/fast-glob) to permit the latest version. - [Release notes](https://github.com/mrmlnc/fast-glob/releases) - [Commits](mrmlnc/fast-glob@2.2.6...3.0.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Hi,
I'll need to cache some data to avoid querying DB continuously. Any preferred approach ?
Currently I'm thinking on adding basic caching. It will include an new attribute for the slice- "Time to live", "Cache time" or similar with 0 meaning no cache-. We'll need a way to invalidate cache as well ;)
What about something quite basic using https://pypi.python.org/pypi/pyfscache/ ?
We can use it at class method BaseViz::get_df level, don't you?
Thanks
The text was updated successfully, but these errors were encountered: