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

Cache alert evaluation state #459

Open
cwbriones opened this issue Oct 5, 2020 · 0 comments
Open

Cache alert evaluation state #459

cwbriones opened this issue Oct 5, 2020 · 0 comments

Comments

@cwbriones
Copy link
Contributor

Right now we go to the database for every enumeration of alerts. We should instead have some sort of repository wrapper that caches these evaluations as they are written to avoid so many individual reads.

Similarly, we could fetch the evaluation state in a batch instead of per-alert - although this could also be done separately from the caching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant