-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
ewma improvements #4448
ewma improvements #4448
Conversation
00c78a4
to
0b619dc
Compare
/test pull-ingress-nginx-test |
/retest |
Codecov Report
@@ Coverage Diff @@
## master #4448 +/- ##
=========================================
Coverage ? 59.05%
=========================================
Files ? 87
Lines ? 6643
Branches ? 0
=========================================
Hits ? 3923
Misses ? 2290
Partials ? 430
Continue to review full report at Codecov.
|
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aledbf, ElvinEfendi The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
We have been running this patch in our production clusters and have seen great improvements.
The PR changes we things
We share EWMA stats among workers now, this means workers will be able to make better load balancing decisions, faster
During endpoints change which happens multiple times during rolling deploy of a service behind ingress-nginx we won't forget all existing EWMA stats, instead we will delete only the ones that no longer exist
Again during endpoints change, new endpoints won't start with score of zero, instead we will set a seed EWMA score to them so that Nginx does not start sending too many request. This was we guarantee slow start for the new endpoints.
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #Special notes for your reviewer: