Forum Discussion

Ashish_R_G_2512's avatar
Ashish_R_G_2512
Icon for Nimbostratus rankNimbostratus
Nov 21, 2016

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

  • Unless very poorly written (and I mean VERY poorly written), utilizing iRules should not create poor performance.

     

    • Ashish_R_G_2512's avatar
      Ashish_R_G_2512
      Icon for Nimbostratus rankNimbostratus

      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's avatar
      ekaleido_26616
      Icon for Cirrocumulus rankCirrocumulus

      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.

       

  • Unless very poorly written (and I mean VERY poorly written), utilizing iRules should not create poor performance.

     

    • Ashish_R_G_2512's avatar
      Ashish_R_G_2512
      Icon for Nimbostratus rankNimbostratus

      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's avatar
      ekaleido
      Icon for Cirrus rankCirrus

      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.