Welcome! Log In Create A New Profile

Advanced

Rate limiting intervals

January 17, 2014 04:52PM
Hello,

With the rate limiting module you can easily rate limit based on seconds or on minutes.
What I would like to do however is rate limit based on a 100 millisecond or 10 millisecond interval.

That way you do not have a burst of requests at the beginning of a second. But a more continuous flow of requests.

Is this possible with nginx?
If not can anyone point me to the right location in the source where the rate limiting is actually done.

(I assume it has something to do with ngx_http_limit_req_lookup in ngx_http_limit_req_module.c)

Thanks in advance,
Pieter
Subject Author Posted

Rate limiting intervals

PieterVI January 17, 2014 04:52PM

Re: Rate limiting intervals

Valentin V. Bartenev January 17, 2014 05:30PM

Re: Rate limiting intervals

PieterVI January 17, 2014 06:26PM

Re: Rate limiting intervals

Valentin V. Bartenev January 17, 2014 07:02PM

Re: Rate limiting intervals

PieterVI January 18, 2014 02:17PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 302
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