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

loadbalancer-experimental: Thread through the EWMA half life in XdsHealthTracker #2824

Merged

Conversation

bryce-anderson
Copy link
Contributor

@bryce-anderson bryce-anderson commented Feb 5, 2024

Motivation:

We currently set the ewma lifetime to 1 nanosecond in the XdsHealthTracker and it's not configurable.

Modifications:

  • Add a lifetime field to the OutlierDetectorConfig type
  • Give it a default of 10 seconds in the Builder

…althTracker

Motivation:

We currently set the ewma lifetime to 1 nanosecond in the
XdsHealthTracker and it's not configurable.

Modifications:

- Add a lifetime field to the OutlierDetectorConfig type
- Give it a default of 10 seconds in the Builder
@bryce-anderson bryce-anderson changed the title loadbalancer-experimental: Thread through the EWMA half life in XdsHe… loadbalancer-experimental: Thread through the EWMA half life in XdsHealthTracker Feb 5, 2024
Copy link
Contributor

@tkountis tkountis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm - consider explaining in the javadoc what half-life means in this context.

@bryce-anderson bryce-anderson merged commit 840aca3 into apple:main Feb 6, 2024
11 of 15 checks passed
@bryce-anderson bryce-anderson deleted the bl_anderson/ThreadEwmaHalfLife branch February 6, 2024 21:37
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.

2 participants