Limit requests per resource

Delta Yeh delta.yeh at gmail.com
Fri Oct 14 01:09:04 UTC 2011


I think what Calin want is limit the concurrent request number to URI
not from remote ip

I don't know whether " limit_req_zone  $uri  zone=one:10m   rate=1r/s; "
can achieve this.



2011/10/13 Simon Liu <simohayha.bobo at gmail.com>:
> You can use limit req module:  http://wiki.nginx.org/HttpLimitReqModule .
>
> On Thu, Oct 13, 2011 at 9:53 PM, Calin Don <calin at presslabs.com> wrote:
>>
>> Hi, is there a way to limit the number of concurent requests per
>> resource (eg. maximum 3 requests / backend, others waiting on
>> frontend)?
>>
>> _______________________________________________
>> nginx mailing list
>> nginx at nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>
>
>
> --
> douban:www.douban.com/people/mustang/
>
> blog: www.pagefault.info
>
> twitter: www.twitter.com/minibobo
>
> weibo:  www.weibo.com/diaoliang
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>



More information about the nginx mailing list