ngx http limit req : burst=0 cannot support more than 1000 RPS

Valentin V. Bartenev vbart at nginx.com
Wed Apr 16 14:43:43 UTC 2014


On Wednesday 16 April 2014 10:30:24 Shrirang wrote:
> I am using "ngx_http_limit_req" module. After going through the code I see
> that if "burst = 0" (i.e. not specified) then maximum rate limiting that can
> be offered is 1000 RPS only. I have seen this in my stress test too.
> I didn't see this in any documentation. Want to clarify if this is really
> true or I missed something?
> 
[..]

The real limitation can be even lower.  It's actually limited by nginx
timer granularity which under big load can be even worst than 1 ms.

  wbr, Valentin V. Bartenev



More information about the nginx mailing list