Interface SlowStartConfigOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    SlowStartConfig, SlowStartConfig.Builder

    public interface SlowStartConfigOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      RuntimeDouble getAggression()
      This parameter controls the speed of traffic increase over the slow start window.
      RuntimeDoubleOrBuilder getAggressionOrBuilder()
      This parameter controls the speed of traffic increase over the slow start window.
      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.
      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.
      com.google.protobuf.Duration getSlowStartWindow()
      Represents the size of slow start window.
      com.google.protobuf.DurationOrBuilder getSlowStartWindowOrBuilder()
      Represents the size of slow start window.
      boolean hasAggression()
      This parameter controls the speed of traffic increase over the slow start window.
      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.
      boolean hasSlowStartWindow()
      Represents the size of slow start window.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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;
        Returns:
        Whether the slowStartWindow field is set.
      • 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;
        Returns:
        The slowStartWindow.
      • 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;
        Returns:
        Whether the aggression field is set.
      • 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;
        Returns:
        The aggression.
      • 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;
        Returns:
        Whether the minWeightPercent field is set.
      • 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;
        Returns:
        The minWeightPercent.
      • 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;