aris
1
Hi All,
According to NGINX wiki,
limit_req_zone $binary_remote_addr zone=one:10m rate=1r/s;
server {
location /search/ {
limit_req zone=one burst=5;
}
means allows a user no more than 1 request per second on average, with
bursts of no more than 5 requests.
But what’s the difference between rate= and burst=?
For example,
limit_req_zone $binary_remote_addr zone=one:10m rate=1r/s;
limit_req zone=one burst=5;
limit_req_zone $binary_remote_addr zone=one:10m rate=5r/s;
limit_req zone=one burst=1;
What’s the difference between above code? From my understanding, for
both settings, users can establish no more than 6 requests at the same
time.
fhal
2
On Thu, Jul 19, 2012 at 03:34:09PM +0800, fhal wrote:
limit_req zone=one burst=1;
What’s the difference between above code? From my understanding, for both
settings, users can establish no more than 6 requests at the same time.
http://nginx.org/en/docs/http/ngx_http_limit_req_module.html
fhal
3
Hello All:
We have an issue where I need to increase the proxy_read_timeout to a
large value. Currently its 300s. What is the the maximum supported
value ?
I am running nginx 1.0.5, could I be able to manually compile a larger
value in ?
snippit of conf
listen 10.222.3.88:80;
server_name localhost;
client_max_body_size 2500m;
proxy_read_timeout 300;
proxy_connect_timeout 75;
keepalive_timeout 75;
Regards
Duane
fhal
4
Hello!
On Thu, Jul 19, 2012 at 10:22:22PM -0400, Duane M. wrote:
We have an issue where I need to increase the proxy_read_timeout to a
large value. Currently its 300s. What is the the maximum supported
value ?
Supported values are up to 24 days.
Maxim D.