I
I
Ivan Komarov2022-04-16 21:42:16
Nginx
Ivan Komarov, 2022-04-16 21:42:16

Explain, please, for Two-Stage Rate Limiting in Nginx?

I want to set up Two-Stage Rate Limiting.
In the Nginx docs , in the appropriate section, it says that:

The first 8 requests (the value of delay) are proxied by NGINX Plus without delay. The next 4 requests (burst - delay) are delayed so that the defined rate of 5 r/s is not exceeded. The next 3 requests are rejected because the total burst size has been exceeded. Subsequent requests are delayed .

I would like to clarify the behavior of requests after three requests have been rejected.
The doc says: " Subsequent requests are delayed ." and not a word about the behavior of this delay.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2022-04-16
@ky0

Relevant article: https://habr.com/ru/company/southbridge/blog/329876/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question