-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
loadbalancer: selectors consider health first and have configurable f…
…ail-open behavior (#2787) Motivation: The health status of a connection is a course grained indicator of whether a host is likely to be able to serve traffic and should be the first consideration to selectors when picking hosts. A second issue is that it's not obvious what the desired behavior is when a healthy host cannot be found: it's going to be user specific whether to fail closed or just give it a try and see what happens. Modifications: - Switch the RR and P2C selectors to consider health first when picking hosts. - Add fail open behavior to both round robin and P2C: if a healthy host cannot be found we will try the first active candidate evaluated. Results: - Health is now considered first. This doesn't change much right now but will make L7 health status much more useful. - Fail open is supported, although off by default.
- Loading branch information
1 parent
e5784f8
commit 6b2b65e
Showing
17 changed files
with
513 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.