Welcome! Log In Create A New Profile

Advanced

Re: Limit requests per resource

October 13, 2011 09:10PM
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@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@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@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@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Limit requests per resource

Calin Don October 13, 2011 09:54AM

Re: Limit requests per resource

Simon Liu October 13, 2011 11:08AM

Re: Limit requests per resource

deltay October 13, 2011 09:10PM

Re: Limit requests per resource

Alexey Koscheev October 14, 2011 04:14PM

Re: Limit requests per resource

gadelkareem March 25, 2012 01:15PM

Re: Limit requests per resource

Waleed G. March 25, 2012 01:08PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 321
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready