Forum Discussion

Martijn_Dekkers's avatar
Martijn_Dekkers
Icon for Nimbostratus rankNimbostratus
Jul 25, 2006

Improving performance - more smaller rules or fewer large ones

As we are now really getting hooked on using iRules, (awesome stuff, iRules) I am wondering what is better for performance, fewer, but larger iRules, or more, smaller ones.

1 Reply

  • Hi,

     

     

    I'm under the impression there shouldn't be much of a difference. You can use the timing function to compare:

     

     

    timing

     

    Click here

     

     

    And if you search for 'timing on' in this forum, you can find some related posts:

     

     

    Calculating statistics with 'timing':

     

    Click here

     

     

    a1l0s2k9's post on writing fast iRules:

     

    Click here

     

     

    Perhaps someone else can comment on the specifics of your question though.

     

     

    Aaron