Interface Cluster.SlowStartConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Cluster.SlowStartConfig,Cluster.SlowStartConfig.Builder
- Enclosing class:
- Cluster
public static interface Cluster.SlowStartConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RuntimeDoublegetAggression()This parameter controls the speed of traffic increase over the slow start window.RuntimeDoubleOrBuildergetAggressionOrBuilder()This parameter controls the speed of traffic increase over the slow start window.PercentgetMinWeightPercent()Configures the minimum percentage of origin weight that avoids too small new weight, which may cause endpoints in slow start mode receive no traffic in slow start window.PercentOrBuildergetMinWeightPercentOrBuilder()Configures the minimum percentage of origin weight that avoids too small new weight, which may cause endpoints in slow start mode receive no traffic in slow start window.com.google.protobuf.DurationgetSlowStartWindow()Represents the size of slow start window.com.google.protobuf.DurationOrBuildergetSlowStartWindowOrBuilder()Represents the size of slow start window.booleanhasAggression()This parameter controls the speed of traffic increase over the slow start window.booleanhasMinWeightPercent()Configures the minimum percentage of origin weight that avoids too small new weight, which may cause endpoints in slow start mode receive no traffic in slow start window.booleanhasSlowStartWindow()Represents the size of slow start window.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasSlowStartWindow
boolean hasSlowStartWindow()
Represents the size of slow start window. If set, the newly created host remains in slow start mode starting from its creation time for the duration of slow start window.
.google.protobuf.Duration slow_start_window = 1;
-
getSlowStartWindow
com.google.protobuf.Duration getSlowStartWindow()
Represents the size of slow start window. If set, the newly created host remains in slow start mode starting from its creation time for the duration of slow start window.
.google.protobuf.Duration slow_start_window = 1;
-
getSlowStartWindowOrBuilder
com.google.protobuf.DurationOrBuilder getSlowStartWindowOrBuilder()
Represents the size of slow start window. If set, the newly created host remains in slow start mode starting from its creation time for the duration of slow start window.
.google.protobuf.Duration slow_start_window = 1;
-
hasAggression
boolean hasAggression()
This parameter controls the speed of traffic increase over the slow start window. Defaults to 1.0, so that endpoint would get linearly increasing amount of traffic. When increasing the value for this parameter, the speed of traffic ramp-up increases non-linearly. The value of aggression parameter should be greater than 0.0. By tuning the parameter, is possible to achieve polynomial or exponential shape of ramp-up curve. During slow start window, effective weight of an endpoint would be scaled with time factor and aggression: `new_weight = weight * max(min_weight_percent, time_factor ^ (1 / aggression))`, where `time_factor=(time_since_start_seconds / slow_start_time_seconds)`. As time progresses, more and more traffic would be sent to endpoint, which is in slow start window. Once host exits slow start, time_factor and aggression no longer affect its weight.
.envoy.config.core.v3.RuntimeDouble aggression = 2;
-
getAggression
RuntimeDouble getAggression()
This parameter controls the speed of traffic increase over the slow start window. Defaults to 1.0, so that endpoint would get linearly increasing amount of traffic. When increasing the value for this parameter, the speed of traffic ramp-up increases non-linearly. The value of aggression parameter should be greater than 0.0. By tuning the parameter, is possible to achieve polynomial or exponential shape of ramp-up curve. During slow start window, effective weight of an endpoint would be scaled with time factor and aggression: `new_weight = weight * max(min_weight_percent, time_factor ^ (1 / aggression))`, where `time_factor=(time_since_start_seconds / slow_start_time_seconds)`. As time progresses, more and more traffic would be sent to endpoint, which is in slow start window. Once host exits slow start, time_factor and aggression no longer affect its weight.
.envoy.config.core.v3.RuntimeDouble aggression = 2;
-
getAggressionOrBuilder
RuntimeDoubleOrBuilder getAggressionOrBuilder()
This parameter controls the speed of traffic increase over the slow start window. Defaults to 1.0, so that endpoint would get linearly increasing amount of traffic. When increasing the value for this parameter, the speed of traffic ramp-up increases non-linearly. The value of aggression parameter should be greater than 0.0. By tuning the parameter, is possible to achieve polynomial or exponential shape of ramp-up curve. During slow start window, effective weight of an endpoint would be scaled with time factor and aggression: `new_weight = weight * max(min_weight_percent, time_factor ^ (1 / aggression))`, where `time_factor=(time_since_start_seconds / slow_start_time_seconds)`. As time progresses, more and more traffic would be sent to endpoint, which is in slow start window. Once host exits slow start, time_factor and aggression no longer affect its weight.
.envoy.config.core.v3.RuntimeDouble aggression = 2;
-
hasMinWeightPercent
boolean hasMinWeightPercent()
Configures the minimum percentage of origin weight that avoids too small new weight, which may cause endpoints in slow start mode receive no traffic in slow start window. If not specified, the default is 10%.
.envoy.type.v3.Percent min_weight_percent = 3;
-
getMinWeightPercent
Percent getMinWeightPercent()
Configures the minimum percentage of origin weight that avoids too small new weight, which may cause endpoints in slow start mode receive no traffic in slow start window. If not specified, the default is 10%.
.envoy.type.v3.Percent min_weight_percent = 3;
-
getMinWeightPercentOrBuilder
PercentOrBuilder getMinWeightPercentOrBuilder()
Configures the minimum percentage of origin weight that avoids too small new weight, which may cause endpoints in slow start mode receive no traffic in slow start window. If not specified, the default is 10%.
.envoy.type.v3.Percent min_weight_percent = 3;
-
-