OiO.lk Blog PHP Symfony Rate Limiter with additional blocking time option
PHP

Symfony Rate Limiter with additional blocking time option


I need a rate limiter where you can configure a separate blocking time when the limit has been exceeded. The use case would be, for example, that 20 accesses are allowed in one minute, if this number is exceeded, access should be blocked for 30 minutes.
The usual Symfony rate limiters do not seem to support such behavior. Is there a way to implement this behavior with one of the existing Symfony rate limiters or to develop a custom rate limiter based on one of the existing ones?



You need to sign in to view this answers

Exit mobile version