public static interface Cluster.LeastRequestLbConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
RuntimeDouble |
getActiveRequestBias()
The following formula is used to calculate the dynamic weights when hosts have different load
balancing weights:
`weight = load_balancing_weight / (active_requests + 1)^active_request_bias`
The larger the active request bias is, the more aggressively active requests will lower the
effective weight when all host weights are not equal.
|
RuntimeDoubleOrBuilder |
getActiveRequestBiasOrBuilder()
The following formula is used to calculate the dynamic weights when hosts have different load
balancing weights:
`weight = load_balancing_weight / (active_requests + 1)^active_request_bias`
The larger the active request bias is, the more aggressively active requests will lower the
effective weight when all host weights are not equal.
|
com.google.protobuf.UInt32Value |
getChoiceCount()
The number of random healthy hosts from which the host with the fewest active requests will
be chosen.
|
com.google.protobuf.UInt32ValueOrBuilder |
getChoiceCountOrBuilder()
The number of random healthy hosts from which the host with the fewest active requests will
be chosen.
|
boolean |
hasActiveRequestBias()
The following formula is used to calculate the dynamic weights when hosts have different load
balancing weights:
`weight = load_balancing_weight / (active_requests + 1)^active_request_bias`
The larger the active request bias is, the more aggressively active requests will lower the
effective weight when all host weights are not equal.
|
boolean |
hasChoiceCount()
The number of random healthy hosts from which the host with the fewest active requests will
be chosen.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasChoiceCount()
The number of random healthy hosts from which the host with the fewest active requests will be chosen. Defaults to 2 so that we perform two-choice selection if the field is not set.
.google.protobuf.UInt32Value choice_count = 1 [(.validate.rules) = { ... }com.google.protobuf.UInt32Value getChoiceCount()
The number of random healthy hosts from which the host with the fewest active requests will be chosen. Defaults to 2 so that we perform two-choice selection if the field is not set.
.google.protobuf.UInt32Value choice_count = 1 [(.validate.rules) = { ... }com.google.protobuf.UInt32ValueOrBuilder getChoiceCountOrBuilder()
The number of random healthy hosts from which the host with the fewest active requests will be chosen. Defaults to 2 so that we perform two-choice selection if the field is not set.
.google.protobuf.UInt32Value choice_count = 1 [(.validate.rules) = { ... }boolean hasActiveRequestBias()
The following formula is used to calculate the dynamic weights when hosts have different load balancing weights: `weight = load_balancing_weight / (active_requests + 1)^active_request_bias` The larger the active request bias is, the more aggressively active requests will lower the effective weight when all host weights are not equal. `active_request_bias` must be greater than or equal to 0.0. When `active_request_bias == 0.0` the Least Request Load Balancer doesn't consider the number of active requests at the time it picks a host and behaves like the Round Robin Load Balancer. When `active_request_bias > 0.0` the Least Request Load Balancer scales the load balancing weight by the number of active requests at the time it does a pick. The value is cached for performance reasons and refreshed whenever one of the Load Balancer's host sets changes, e.g., whenever there is a host membership update or a host load balancing weight change. .. note:: This setting only takes effect if all host weights are not equal.
.envoy.config.core.v4alpha.RuntimeDouble active_request_bias = 2;RuntimeDouble getActiveRequestBias()
The following formula is used to calculate the dynamic weights when hosts have different load balancing weights: `weight = load_balancing_weight / (active_requests + 1)^active_request_bias` The larger the active request bias is, the more aggressively active requests will lower the effective weight when all host weights are not equal. `active_request_bias` must be greater than or equal to 0.0. When `active_request_bias == 0.0` the Least Request Load Balancer doesn't consider the number of active requests at the time it picks a host and behaves like the Round Robin Load Balancer. When `active_request_bias > 0.0` the Least Request Load Balancer scales the load balancing weight by the number of active requests at the time it does a pick. The value is cached for performance reasons and refreshed whenever one of the Load Balancer's host sets changes, e.g., whenever there is a host membership update or a host load balancing weight change. .. note:: This setting only takes effect if all host weights are not equal.
.envoy.config.core.v4alpha.RuntimeDouble active_request_bias = 2;RuntimeDoubleOrBuilder getActiveRequestBiasOrBuilder()
The following formula is used to calculate the dynamic weights when hosts have different load balancing weights: `weight = load_balancing_weight / (active_requests + 1)^active_request_bias` The larger the active request bias is, the more aggressively active requests will lower the effective weight when all host weights are not equal. `active_request_bias` must be greater than or equal to 0.0. When `active_request_bias == 0.0` the Least Request Load Balancer doesn't consider the number of active requests at the time it picks a host and behaves like the Round Robin Load Balancer. When `active_request_bias > 0.0` the Least Request Load Balancer scales the load balancing weight by the number of active requests at the time it does a pick. The value is cached for performance reasons and refreshed whenever one of the Load Balancer's host sets changes, e.g., whenever there is a host membership update or a host load balancing weight change. .. note:: This setting only takes effect if all host weights are not equal.
.envoy.config.core.v4alpha.RuntimeDouble active_request_bias = 2;Copyright © 2018–2021 The Envoy Project. All rights reserved.