Romel_77740
Nov 15, 2011Nimbostratus
irule performance question
Is it better to have 10 different irules applied to the same virtual server that do similar thing or is it better to combine in one script? Or either way doesn't matter? Eg pseudo scripts with 26 irules:::
irule A: if (src ip 10.1.1.1) then pool A
irule B: if (src ip 10.1.1.2) then pool B
..
irule Z: if (src ip 10.1.1.26) then pool Z
Or is it better to do:
just 1 irule:: if (src ip 10.1.1.1) then pool A else if src ip 10.1.1.2) then pool B... else pool Z (or do a case statement for this in a single irule)