On this page
Forty clients against eight slots. With no admission control every request is accepted and every request waits: 292 answers in 40 seconds at a median of 5.94 s. With the llm-d router's flow control and the chart's default failure mode, the picker rejected 244 requests and all 300 were served anyway. One line later, the gate held: 252 answers at a median of 4.03 s and 1,205 fast rejections. This is part 7 of Inference-Aware Load Balancing for LLMs: admission control for model servers, how the gate works in the router's source, the FailOpen trap, and two limits of NGINX Gateway Fabric 2.8.1 measured. This post goes with a video on the LevelUP I.T. YouTube channel.

When every replica is full
A vLLM replica runs a batch of sequences; a new request joins it if there is room, otherwise it waits in the server's own waiting queue (vllm:num_requests_waiting), which nothing bounds. Under overload every request is accepted and every request gets slower: time to first token grows with the queue, for everyone. The client sees no error and no back-pressure, and the load balancer keeps sending because every replica still passes its health check.
Three answers exist. Queue: hold the excess in front of the pool, bounded, where it can be counted, ordered and timed out. Reject: when the queue is full, answer at once (429) so the client can back off. Shed: drop the least important traffic first, with priority bands. The llm-d router's flow control does all three: a queue per priority band, a size limit, a time to live, and a saturation detector that decides when the pool is full.
The test
load.py, added to the client pod's tools ConfigMap: 40 closed-loop clients for 40 s; a client that does not get 200 waits 0.5 s before retrying; every request asks for exactly 64 tokens (min_tokens = max_tokens, ignore_eos). It prints what the clients saw (status counts, median and p90 latency) and what the picker said for the same window from its own /metrics: llm_d_epp_flow_control_requests_total by outcome and the peak of llm_d_epp_flow_control_queue_size, sampled every 100 ms.
First a capacity decision, on camera:
kubectl -n llm patch deploy/lfm-1-2b --type=json -p='[{"op":"add","path":"/spec/template/spec/containers/0/args/-","value":"--max-num-seqs"},
{"op":"add","path":"/spec/template/spec/containers/0/args/-","value":"4"}]'Two replicas × 4 sequences = 8 slots, against 40 clients. With the default on this CPU the waiting queue stayed at 0 and only the KV-cache threshold could ever show the pool as full; with 4, "full" shows up as requests waiting. After the restart, the first request to each replica took 6.6 s to the first token, so both were warmed before measuring.
No admission control
load http://llm-gw-nginx.llm lfm2.5-1.2b --host llm.f5lab.test --epp http://lfm12pool-epp:9090 --clients 40 --seconds 40
40 clients for 40 s, 64 tokens each
HTTP status: 200: 292
200s: median 5.94 s, p90 7.06 s others: median -
picker flow control: no flow-control events queue peak 0Little's law checks it: 40 clients / (292 / 40 s = 7.3 per second) ≈ 5.5 s in the system, so 8 run while 32 wait inside the replicas. Nobody was refused and nobody was fast.