Welcome! Log In Create A New Profile

Advanced

Re: Issues with limit_req_zone.

Francis Daly
May 09, 2017 06:44PM
On Sun, May 07, 2017 at 04:31:37AM -0400, Vishnu Priya Matha wrote:

Hi there,

> In limit_req_zone with rate set to 100/s and burst=50, we have below
> observation
> .
> Scenario1
> ==========
> 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
> expected

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".

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Issues with limit_req_zone.

Vishnu Priya Matha May 07, 2017 04:31AM

Re: Issues with limit_req_zone.

Francis Daly May 09, 2017 06:44PM

Re: Issues with limit_req_zone.

Vishnu Priya Matha July 03, 2017 02:46AM

Re: Issues with limit_req_zone.

Francis Daly July 05, 2017 03:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 298
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready