multiple limit_req_zone
matt_l
nginx-forum at nginx.us
Mon Sep 15 20:05:31 UTC 2014
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
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,253227,253263#msg-253263
More information about the nginx
mailing list