For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

Vegas does not grow the inflight limit

The Vegas auto-tuner only adjusts the inflight limit on ticks where the latency reservoir contains at least min_samples entries. Below that threshold the tick is a no-op, so on lightly loaded deployments the limit stays at its lower bound.

Symptoms

  • ergw_adaptive_inflight_limit stays at the configured min_inflight.
  • Traffic is low and ergw_adaptive_latency_p90_microseconds is stable.
  • The structured log shows tick: skipped (insufficient samples).

Possible causes

  • The configured min_samples is higher than the throughput in the current sampling window.
  • The deployment has sparse traffic and the limit does not need to grow because nothing binds it.

Solution

To let Vegas grow the limit on lightly loaded deployments, lower the minimum sample threshold:

  1. Lower the minimum sample requirement:

    bash
  2. Watch ergw_adaptive_inflight_limit over several minutes. If it begins to grow, persist loadControl.vegas.min_samples in the Helm values.

  3. If traffic is genuinely low and the inflight limit never binds anything, no change is needed — a flat limit at min_inflight is correct behavior at low load.

Note

Lowering min_samples makes Vegas more reactive to small samples of latency, which can amplify noise. Do not go below 50 unless you accept the risk of single-tick limit oscillation.

Read more