Forum Discussion
katic_13597
Nimbostratus
Jul 14, 2007increase the IRULE Performance ?
I am new to IRULEs ,I have an IRULE by which my Product Performance becomes Very slow, when HTTP requests are going via Big-IP IRULE the Performance is 2-requests per second , if we hit with HTTP request Directly to the server the Performance is 24 –Requests per second.
My IRULE:
when HTTP_REQUEST {
if { [HTTP::uri] contains "/myServer/one/"} {
pool dvsnode1_pl1
}
elseif { [HTTP::uri] contains "/myServer/two/"} {
pool dvsnode2_pl1
}
else { pool dvsnode_general_pl1
}
}
Can anybody please optimize my IRULE whether I have to use IF-else or switch to gain the performance, any way we can see how much time IRULE is taking for Processing the HTTP request.
Help will be appreciated.
7 Replies
- Kirk_Bauer_1018
Nimbostratus
First try using "starts_with" instead of "contains"... - katic_13597
Nimbostratus
kirkbauer ,thanks for the reply. - Leo_Katona_5507
Nimbostratus
My URL looks like "http://+:995/DvsServer/one/Device/" , is "starts_with" with works for me ?
- hoolio
Cirrostratus
As you've found, there shouldn't be much of a difference between these different methods in the iRule. I would expect that the iRule wouldn't add any significant latency. It definitely wouldn't account for the drop in performance you've described. Take a look at your other post for suggestions on using tcpdump to troubleshoot the issue. - Andy_Herrman_22
Nimbostratus
My guess is that your performance issues are related to configuration stuff other than the iRules. There's no way an iRule should slow you down that much. - katic_13597
Nimbostratus
thanks for all your support - mikand_61525
Nimbostratus
Any hints on what you did change in the TCP profile aswell as HTTP profile?
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