Forum Discussion
iRule performance effect
Hi,
We have around 700+ VIP's in my environment each serve for different purpose. We are using a public IP for each VIP so that alone will utilize more IP's. We are planning to create a single VIP which all different services running behind the same VIP in different pool members.
So we are planing to write iRules for redirect the traffic according the URL which is inputted to different pool member inside the same pool. So that means each VIP will have a new iRule that in turns create more number of iRules. Will this going effect my performance?
Thanks,
Ashish
7 Replies
- ekaleido_26616
Cirrocumulus
Unless very poorly written (and I mean VERY poorly written), utilizing iRules should not create poor performance.
- Ashish_R_G_2512
Nimbostratus
Hi ekaleido,
The iRule which I'm going to use will be somewhat similar to below.
when HTTP_REQUEST { if { [HTTP::uri] contains "abc" } { use pool pool_1 }else { use pool pool_2 } }Will this effect the performance of the device?
Also please note that the iRule for each VIP will be similar to above i.e. each VIP will have a different iRule.
- ekaleido_26616
Cirrocumulus
You'll be fine using that iRule over multiple virtual servers. I can't see that creating any performance impact. I've done something similar with 400+ sites.
- ekaleido
Cirrus
Unless very poorly written (and I mean VERY poorly written), utilizing iRules should not create poor performance.
- Ashish_R_G_2512
Nimbostratus
Hi ekaleido,
The iRule which I'm going to use will be somewhat similar to below.
when HTTP_REQUEST { if { [HTTP::uri] contains "abc" } { use pool pool_1 }else { use pool pool_2 } }Will this effect the performance of the device?
Also please note that the iRule for each VIP will be similar to above i.e. each VIP will have a different iRule.
- ekaleido
Cirrus
You'll be fine using that iRule over multiple virtual servers. I can't see that creating any performance impact. I've done something similar with 400+ sites.
It's a tad old, but check out this article.
https://devcentral.f5.com/articles/comparing-irule-control-statements
Also, if available in your version, traffic policies is said to be more efficient than irules.
/Patrik
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
