Forum Discussion
iRules: Http Request Throttler
hello
I configured 4 VirtualServer using URLs and different ports on my BIGIP LTM1600: VS1 : @IP1 :8082 VS2 : @IP1 :8083 VS3 : @IP1 :8084 VS4 : @IP1 :8085
I want to limit the total number of simultaneous HTPP Post/Push queries (VS1+VS2+VS3/VS4) to X per second (Example 100Requests/Second). How to set up this configuration with iRules.
Regards MB
3 Replies
- Cory_50405
Noctilucent
You should be able to craft something based on this:
https://devcentral.f5.com/wiki/iRules.HTTP-Request-Throttle-version-10-1-and-above.ashx
Just change GET to POST, and tailor the values to meet your desired number of transactions per user per time period.
- MB_78_160630
Nimbostratus
Hello Thank you for the answer:
is that this calculation applies to each request whatever the Virtualerver?
And if I want to add another control such that the total number of queries received on (VS1 + VS2 + VS3) together shall not exceed another threshold.
In summary: VS1 + VS2 + VS3 VS4 + must not exceed 100 Queries per second VS1 + VS2 + VS3 must not exceed 75 requests per second
Regards
- Cory_50405
Noctilucent
Unsure you're going to be able to get as granular as you want aggregating transactions across virtual servers. Perhaps someone in the community has done something like this and can offer more input.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com