-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Zone Aware Routing: Ability to set minimum number of hosts per-zone #38561
Comments
Sounds like a reasonable feature. |
/assign @jukie |
jukie is not allowed to assign users. |
I'll work on this |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions. |
/remove-lifecycle stale |
This might only be applicable when Stepping through the code I think Envoy would already self-protect small zones. For example consider the below structure:
For zone A local > upstream which means it'd fallback to residual correct? envoy/source/extensions/load_balancing_policies/common/load_balancer_impl.cc Lines 508 to 511 in 31d7b24
So then it steps down and determines what percentage can be routed locally which would be ~60% in this case (20/33.33). envoy/source/extensions/load_balancing_policies/common/load_balancer_impl.cc Lines 522 to 530 in 31d7b24
Assuming each zone has 100 request inbound the result should be:
Which already achieves equal distribution and provides protections to smaller zones. I'll plan on just adding this as an extra gate to |
Title: Ability to set minimum number of hosts per-zone when using Zone Aware Routing
Description:
In addition to setting minClusterSize, I'd like the ability to set the minimum number of upstream hosts in the local zone in order for zonal routing to be performed.
Relevant Links:
The text was updated successfully, but these errors were encountered: