Forum Discussion

DaveC_21078's avatar
DaveC_21078
Icon for Altostratus rankAltostratus
Jun 24, 2009

Throttle redirect

Hi,

 

 

I'm looking for a way to redirect http requests to another web server if the number of incoming http requests to the BigIP VIP exceeds a certain per second. I need to be able to not try and service too many requests and overwhelm my system but I need to record what and how many requests I drop. I've seen reference to this in other posts, but haven't found the solution.

1 Reply

  • Kirk has a Codeshare example which throttles based on HTTP requests per IP address over a period of time. You could either use that as is, or modify it to suit your requirement.

     

     

    HTTP request throttle

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/HTTPRequestThrottle.html

     

     

    You can view the other Codeshare examples here:

     

    http://devcentral.f5.com/wiki/default.aspx/iRules/codeshare

     

     

    Aaron