I noticed our nginx configuration 5000r/s limits, that is the test program
must generate requests between less than 0.2msec, the tester was
misconfigured the test condition.
Thanks for great hint :-)
On Wed, Mar 15, 2017 at 11:19 PM, Nishikubo Minoru
wrote:
> > If this is an exact configuration
> If this is an exact configuration you've tried to test with,
> you've probably tested something very different, as there is no
> "logation" directive in nginx.
Oh, location is correct.
http {
limit_req_zone fixedstring zone=upstream:1m rate=5000r/s;
}
server {
server_name vhosta;
locatio
Hello!
On Wed, Mar 15, 2017 at 08:47:15PM +0900, Nishikubo Minoru wrote:
> We want to limit outgoing(upstream) rate with the fixed string key among
> various virtual hosts as follows:
>
> limit_req_zone fixedstring zone=upstream:1m rate=5000r/s;
>
> server {
> server_name vhosta;
> logation
Hello,
We want to limit outgoing(upstream) rate with the fixed string key among
various virtual hosts as follows:
limit_req_zone fixedstring zone=upstream:1m rate=5000r/s;
server {
server_name vhosta;
logation / {
limit_req zone=upstream burst=25;
proxy_pass http://some_upstream;
}