-
Notifications
You must be signed in to change notification settings - Fork 218
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
Rule evaluation caching #100
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Can we open it again? |
Can we just cache the rules and distributions, and do the evaluation? Then let the cache be purged after an expiration time. |
Yep! Ive actually started working on this this week |
Tracking in https://github.com/markphelps/flipt/tree/cache-redo, I hope to have this land early this coming week |
@badboyd this should be fixed as of v0.12 The docs on the caching feature are here: https://flipt.io/docs/configuration/#caching Lemme know how it works for you! |
Describe the solution you'd like
Would like to support evaluation caching for rule based evaluation. IE https://flipt.dev/concepts/#evaluation
This would behave similarly to what was added in #6, but would likely be more complex since there are multiple entities that need to be cached (segments, distributions, rules, variants, etc) and invalidated.
One approach is to just cache the evaluation result and not the actual individual actors (noted above), but would have to come up with a scheme to invalidate this cached result if any of the above changed.
The text was updated successfully, but these errors were encountered: