Rate limiting intervals
Valentin V. Bartenev
vbart at nginx.com
Sat Jan 18 00:00:17 UTC 2014
On Friday 17 January 2014 18:26:09 PieterVI wrote:
> Hi Valentin,
> I know that 100r/s is equal to 1 request per 10 milliseconds.
> If you specifiy 100r/s nginx will send 100 requests within the first
> milliseconds of a certain second.
Yes, but only if you have set burst=100.
There is no second/minute granularity in limit_req module. It's just a
If you set 100r/s with zero burst, then every request received in less
than 10 milliseconds after the previous permitted one will be declined.
wbr, Valentin V. Bartenev
More information about the nginx