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

ewma improvements #4448

Merged
merged 2 commits into from
Aug 15, 2019
Merged

Conversation

ElvinEfendi
Copy link
Member

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:

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Aug 15, 2019
@k8s-ci-robot k8s-ci-robot requested review from aledbf and bowei August 15, 2019 15:14
@ElvinEfendi ElvinEfendi force-pushed the upstream-ewma-patches branch from 00c78a4 to 0b619dc Compare August 15, 2019 17:13
@ElvinEfendi
Copy link
Member Author

/test pull-ingress-nginx-test

@ElvinEfendi
Copy link
Member Author

/retest

@codecov-io
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (master@0b37598). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #4448   +/-   ##
=========================================
  Coverage          ?   59.05%           
=========================================
  Files             ?       87           
  Lines             ?     6643           
  Branches          ?        0           
=========================================
  Hits              ?     3923           
  Misses            ?     2290           
  Partials          ?      430
Impacted Files Coverage Δ
internal/ingress/controller/template/configmap.go 77.4% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0b37598...0b619dc. Read the comment docs.

@aledbf
Copy link
Member

aledbf commented Aug 15, 2019

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 15, 2019
@k8s-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants