HTTP Request Throttle
Problem this snippet solves: iRule to limit the number of requests clients can make within a certain amount of time. Units used are requests/minute but this could be changed to requests/sec pretty e...
Published Mar 18, 2015
Version 1.0Kirk_Bauer_1018
Altostratus
Joined November 08, 2006
Kirk_Bauer_1018
Altostratus
Joined November 08, 2006
oedo808_68685
Altostratus
May 03, 2016I made a variation of this rule for rate limiting individual IP addresses and UserAgents, not to specific URIs but to all virtual servers covered by the rule, testing for x-forwarded-for, etc.. My tests performed very well so we tried it during a load test. The static variables needed to be tuned quite a bit, I don't recall what the final values were and I no longer have access to the production rule but I can get it if anyone is interested. We used it last night in production and it was very effective against rule breaking bots that are causing performance impact.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)