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

chore(kuma-cp) change default flush intervals #1237

Merged
merged 1 commit into from
Dec 1, 2020

Conversation

jakubdyszkiewicz
Copy link
Contributor

Summary

Lower default flush intervals of Zone Insights and Dataplane Insights. We don't need to refresh the status that often, it's not critical for Kuma to function. Change it from 1s to 10s, to save an order of magnitude requests to the DB when there are many config changes.

Tradeoff - we will see DP online / offline and all stats changes with latency of 10s, not 1s.

I also parametrized Zone Insight since it was hardcoded.

Documentation

  • No docs, internal changes.

Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
@jakubdyszkiewicz jakubdyszkiewicz merged commit 47b8752 into master Dec 1, 2020
@jakubdyszkiewicz jakubdyszkiewicz deleted the chore/change-default-flush-interval branch December 1, 2020 14:17
mergify bot pushed a commit that referenced this pull request Dec 1, 2020
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
(cherry picked from commit 47b8752)
nickolaev pushed a commit that referenced this pull request Dec 1, 2020
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
(cherry picked from commit 47b8752)

Co-authored-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
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

Successfully merging this pull request may close these issues.

None yet

3 participants