Skip to content
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

Improve Redis memory management #854

Open
tokebe opened this issue Aug 23, 2024 · 0 comments
Open

Improve Redis memory management #854

tokebe opened this issue Aug 23, 2024 · 0 comments
Labels
debt Issue represents some technical debt enhancement New feature or request needs discussion

Comments

@tokebe
Copy link
Member

tokebe commented Aug 23, 2024

Our Test instance, likely due to a high level of traffic, caused the redis pod to go out-of-memory and requiring a flush of the entire redis store. This prompts discussion of how to avoid this in the future.

Currently, we store results for 30 days. We may wish to reduce this time, or actively check redis memory usage and drop the oldest results to bring it back to some threshold. If we do something more complex than shortening the result storage time, we may need to revamp the system to store some sort of index of results, as we currently don't do so and may need it to reason about what's stored, how much space it's taking up, and its age.

@tokebe tokebe added enhancement New feature or request debt Issue represents some technical debt needs discussion labels Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debt Issue represents some technical debt enhancement New feature or request needs discussion
Projects
None yet
Development

No branches or pull requests

1 participant