R
R
raiboon2022-03-24 21:16:22
Nginx
raiboon, 2022-03-24 21:16:22

How to count and limit the number of requests to the service?

I would like to learn how to cut those users who make "too many" requests at the nginx level. The whole question is how to count how many requests are normal, and how many are already too many.
Autoscaling is set up, but I don’t want to burn money for someone spamming or parsing with a script, at the same time I really don’t want ordinary users to notice something.
Cloudflare cannot be used, Russian counterparts are somehow a little expensive.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2022-03-24
@ky0

Do you have a technical or organizational question? What frequency of requests to consider "too large", no one but you can tell - it's individual. You can calculate this by analyzing the access logs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question