4 ms·
There's a LOT of misbehaving bots out there that will just relentlessly keep hammering an endpoint that returns error codes.
by Doxin 2y ago
There's a LOT of misbehaving bots out there that will just relentlessly keep hammering an endpoint that returns error codes.
- OutOfHere 2y agoWell, that's because the site too is misbehaving there by always erroring. The site should give the correct response based on a bucket algorithm, and this will cause the bot to ease off. Effectively a rate limit is implemented for mutually satisfactory operations.
- Doxin 2y agoA bot that ignores error codes isn't going to suddenly start behaving itself if your site has a rate limit. It'll simply ignore the rate limiting errors and move on to the next page the second the site does return a non-error response.