Issues with limit_req_zone.
francis at daoine.org
Tue May 9 22:42:50 UTC 2017
On Sun, May 07, 2017 at 04:31:37AM -0400, Vishnu Priya Matha wrote:
> In limit_req_zone with rate set to 100/s and burst=50, we have below
> no. of request made by jmeter = 170
> # of request expected to be failing = 20
> # of request actually failed = 23
> Question: why 3 more request are failing and is this much of failure
Why do you expect 20 to fail?
I expect 0 to fail.
Unless you use "nodelay", in which case the number of failures depends
on how quickly the requests are received.
Note: "100/s" does not mean "accept 100, then accept no more until 1
second has passed". It means something closer to "accept 1, then accept
no more until 0.01 seconds has passed".
Francis Daly francis at daoine.org
More information about the nginx