Welcome! Log In Create A New Profile

Advanced

Re: multiple limit_req_zone

September 13, 2014 06:07PM
Valentin

Thank you very much for your response.

What would be a use case where one would define multiple limit_req_zone?

For example, I would assume that the following

limit_req_zone $binary_remote_addr zone=one:10m rate=10r/s;
limit_req_zone $binary_remote_addr zone=two:10m rate=10r/s;

is completely equivalent to

limit_req_zone $binary_remote_addr zone=two:20m rate=10r/s;

I am thinking that one would want to have multiple limit_req_zone if one wants different rates and zone sizes?

On a separate note, how does one decides the size needed for zone?

Thank you for your help
Subject Author Posted

multiple limit_req_zone

matt_l September 13, 2014 04:37PM

Re: multiple limit_req_zone

Valentin V. Bartenev September 13, 2014 04:50PM

Re: multiple limit_req_zone

matt_l September 13, 2014 06:07PM

Re: multiple limit_req_zone

Valentin V. Bartenev September 13, 2014 07:14PM

Re: multiple limit_req_zone

matt_l September 15, 2014 04:05PM

Re: multiple limit_req_zone

Valentin V. Bartenev September 15, 2014 07:04PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 316
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready