Forum Discussion
Laurent_P_
Employee
Aug 06, 2007Performance impact of HTTP::respond
Hi,
We have a customer requesting ability to limite the rate of HTTP request. The iRule which has been developed answers with HTTP::respond 501 when the maximum rate is reached.
Testing under load produce a huge performance loss.
Did anybody observed the same ?
Any alternative for this iRule command ?
Thanks a lot for any help.
Regards.
- hoolio
Cirrostratus
Hi Laurent, - Laurent_P_
Employee
Here it is : - Laurent_P_
Employee
This is iRule intend to allow a sliding windows of 10 second wthin wich a user or a robot can issue a max of 100 request per second. - JRahm
Admin
What version of code are you running? There is a performance issue with the clock command prior to 9.2. - Laurent_P_
Employee
It's been written with a 9.2.3 version. - Nina_Forsyth_67Historic F5 AccountThe issue with the iRule is this line:
- Laurent_P_
Employee
The rand() function was used to uniquely identify each user request.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects