Interface LoadSheddingRuntimeConfig


@ConfigMapping(prefix="quarkus.load-shedding") @ConfigRoot(phase=RUN_TIME) public interface LoadSheddingRuntimeConfig
  • Method Details

    • enabled

      @WithDefault("true") boolean enabled()
      Whether load shedding should be enabled. Currently, this only applies to incoming HTTP requests.
    • maxLimit

      @WithDefault("1000") int maxLimit()
      The maximum number of concurrent requests allowed.
    • alphaFactor

      @WithDefault("3") int alphaFactor()
      The alpha factor of the Vegas overload detection algorithm.
    • betaFactor

      @WithDefault("6") int betaFactor()
      The beta factor of the Vegas overload detection algorithm.
    • probeFactor

      @WithDefault("30.0") double probeFactor()
      The probe factor of the Vegas overload detection algorithm.
    • initialLimit

      @WithDefault("100") int initialLimit()
      The initial limit of concurrent requests allowed.
    • priority

      Configuration of priority load shedding.