Calculating requests per second, per IP address
jeremy ardley
jeremy at ardley.org
Tue Jan 2 03:23:43 UTC 2024
On 1/1/24 18:57, J Carter wrote:
> Other than log aggregators, writing a script (python, perl, bash) is
> likely the fastest approach. Consider sharing it if you do, I'm sure
> others will find it useful.
--
An alternative option is to put haproxy as a front end to nginx.
haproxy has very configurable rate limiting. See
https://www.haproxy.com/blog/four-examples-of-haproxy-rate-limiting
More information about the nginx
mailing list