-
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
Cache improvement: ListFlags #935
Comments
Thanks @AyWa ! Im actually working on improving caching currently as well as introducing Redis support for cache. I'll take this on My only concern with caching the List Flags response would be the number of flags that could potentially be returned which could cause the cache to 'overflow'. Perhaps setting a default + max batch size for the list flags request would help solve this? I just realized we arent enforcing a default or max limit for listing flags today 🙈 |
@markphelps Sounds good !
Yeah thats true that it could be a problem, I agree that setting a default + max batch size might help to ensure we dont overflow the cache ! |
@markphelps do you actually want do to this? I believe |
Yeah I think I agree. Going to close this for now |
Describe the bug
ListFlags
should be cache by flipt whencache is enable
. Right now it will always call the storageVersion Info
main branch
The text was updated successfully, but these errors were encountered: