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

1.x new transport enhancements #687

Merged
merged 3 commits into from
Oct 22, 2015
Merged

1.x new transport enhancements #687

merged 3 commits into from
Oct 22, 2015

Conversation

qiangdavidliu
Copy link
Contributor

  • add config to define quarantine clear condition
  • better metrics and logging
  • adding jitter to sessionedClient's session duration

@cloudbees-pull-request-builder

NetflixOSS » eureka » eureka-pull-requests #500 SUCCESS
This pull request looks good

int threshold = candidateHosts.size() * transportConfig.getRetryableClientQuarantineRefreshPercentage() / 100;
if (quarantineSet.isEmpty()) {
// no-op
} else if (quarantineSet.size() >= threshold) {
Copy link

Choose a reason for hiding this comment

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

I am not sure if this is good approach. If first 50% servers are down, and threshold is 50%, the client will never be able to connect to any healthy instance, as quarantine set will be just before the first live instance reset to zero.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point. However we should also also not have it so that if there is only a single good server left, then we send a thundering herd there.

@cloudbees-pull-request-builder

NetflixOSS » eureka » eureka-pull-requests #501 SUCCESS
This pull request looks good

qiangdavidliu added a commit that referenced this pull request Oct 22, 2015
1.x new transport enhancements
@qiangdavidliu qiangdavidliu merged commit a54991b into Netflix:master Oct 22, 2015
@YunaiV
Copy link

YunaiV commented Oct 18, 2017

@qiangdavidliu

hello, why add "adding jitter to sessionedClient's session duration" .

thank you!

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.

4 participants