Calculating requests per second, per IP address

2023-12-29 Thread Rejaine Monteiro
Hi all, I´m running Nginx community edition and need to implement rate limiting There's plenty of guides out there on how to do this, but no guides on how to get real values/stats from the access logs What I need to get from the NGINX access logs is: - Requests per minute, per IP address - Av

Re: Calculating requests per second, per IP address

2023-12-29 Thread Maxim Dounin
Hello! On Fri, Dec 29, 2023 at 09:54:30AM -0300, Rejaine Monteiro wrote: > Hi all, > > I´m running Nginx community edition and need to implement rate limiting > > There's plenty of guides out there on how to do this, but no guides on how > to get real values/stats from the access logs > > > W

Re: Calculating requests per second, per IP address

2023-12-29 Thread Rejaine Monteiro
Thanks for the explanation I understand how Nginx works with limit_req, and what I'm looking for is precisely to find this "reasonable value" for each endpoint (testing the application side behavior is also important, but since there are multiple endpoints with hundreds of different functions, it