Prevent huge spam of duplicated requests

Hello, I have been searching for a solution how to prevent my routes getting brutally spammed, but couldnt find any clear solution on this.
Currently I experience a problem that whenever I get brutally spammed with duplicated requests, even through rate limiter (which is allowing 1 request per 5 seconds), 2 requests or even more could successfully pass through.
My question is if cloudflare offers such a security to prevent these spams.

[laravel atomic locks](https://laracasts.com/discuss/channels/laravel/cache-atomic-lock-doesnt-lock-correctly)
this topic is very similar to mine, but it is unsolved (atomic locks should prevent 2 requests running at the same time, but sadly, it doesnt work)

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.