Forum Discussion
smp_86112
Apr 19, 2011Cirrostratus
Which is more efficient - switch or class statement?
We were evaluating a v10 rule today which sets a pool based on the client IP address:
when HTTP_REQUEST {
switch [IP::client_addr] {
"10.15.102.126" -
"10.15.101.14" -
"10.11...
Hamish
Nov 16, 2011Cirrocumulus
And a lot easier... A rule of thumb I try to apply is no data in iRules... That includes IP addresses, networks etc..
The tip about iRule updates and data group updates is especially pertinent. And means a lot more when you're considering a long lived connection rather than simple HTTP.
H
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