Throttles incoming traffic by delaying requests and/or capping how many are processed concurrently, to protect a backend from overload. With delay set, every request is held briefly before it continues. With maxThreads set, a request that arrives while the limit is already reached is rejected with 503 once no slot frees up. See the examples under examples/routing-traffic/throttle.
When maxThreads is reached, the maximum time in milliseconds a request waits for a slot to free up before it is rejected with 503. 0 rejects immediately.
3000
delay
false
0
Milliseconds to hold every request before it continues. 0 disables the delay.
1000
maxThreads
false
0
Maximum number of requests processed concurrently. A request arriving while the limit is reached waits up to busyDelay for a slot to free up and, if none does, is rejected with 503. 0 means unlimited.