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

Implemented locality weighted load balancing #408

Merged
merged 2 commits into from
Feb 1, 2024

Conversation

nastassia-dailidava
Copy link
Contributor

No description provided.

@@ -221,9 +231,11 @@ class EnvoyEndpointsFactory(
Value.newBuilder().setBoolValue(true).build()
)
}
val calcLocality = if (priority == 0) Locality.LOCAL.name else locality.name
Copy link
Contributor

Choose a reason for hiding this comment

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

this is not true, priority 0 doesnt mean that instance is local, imo you should revert this change

@nastassia-dailidava nastassia-dailidava merged commit db5aeaf into master Feb 1, 2024
8 checks passed
@nastassia-dailidava nastassia-dailidava deleted the locality-weighted-lb branch February 1, 2024 19:53
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