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
Implement Local Cache for ConfigStore #370
Comments
DRAFTSuggestionCreates local sqllite MotivationNo response ContextNo response |
Development Plan
Questions / RequestsNotes / Comments / Additional |
please attach the .configu, .cfgu and GH action workflows file of the test you created here @RonConfigu |
An initial implementation of this feature has been implemented and released to both |
@rannn505 @RichardAkman |
Suggestion
We propose the integration of a local caching mechanism for ConfigStore which will significantly enhance performance by reducing fetch times and providing a fallback during outages. This cache should be configurable via the
.configu
file, allowing users to toggle caching on or off, or specify a custom SQLite file for the cache data.cache
property to root of the.configu
file.cache
property understores.[storeName].cache
of the.configu
file.stores.[storeName].cache
props are true. -> this enables the cache for that spesific store.$cacheDir/configs.sqlite
:eval
command execution involving that ConfigStore.eval
(not an actual eval error like validate the cfgu against a Config), attempt to fetch the Config from the local cache if caching is enabled.--force-cache
flag to theeval
CLI command to allow fetching Configs strictly from the cache.Motivation
Introducing a local cache for ConfigStore aims to:
Context
Additional considerations include:
The text was updated successfully, but these errors were encountered: