Welcome! Log In Create A New Profile

Advanced

Re: multiple limit_req_zone

September 15, 2014 04:05PM
Valentin,
Thank you so much for your example. It definitely helps.
When you say "A client IP address serves as a key. [...]. One megabyte zone can keep about 16 thousand 64-byte states." Does that mean that 1 megabyte zone can keep the state on 16 thousand different sending IP addresses?
What about the following 2 use cases:
Use Case #1: One receives 10 requests per second from 10 different clients/IPs each of them sending 1 request per second
Use Case #2: One receives 10 requests per second from 1 client/IP sending 10 requests per second.
Should the zone size be different?
Thank you.
-matthieu
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: 50
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready