Forum Discussion

Naman_65674's avatar
Naman_65674
Icon for Nimbostratus rankNimbostratus
Feb 24, 2009

iRule Vs HTTP Classes

Hi,

 

 

We currently have a block of code in an iRule which sends traffic to different pools based on the uri using dataclasses. We want to move to using HTTP Classes but first would like to understand what kind of performance gain (if any) we should expect.

 

 

I tried running a few jMeter tests with ~1000 req/sec in both scenarios, comparing the throughput and using the following guide http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=123 but i couldnt see any notable differences.

 

 

Does anyone have any ideas of any other tools i could use to compare my two options? Maybe i need to generate more load? How would i determine how many entries in a HTTP class or data class are allowed before i hit some limit?

 

 

Thanks,

 

Naman

1 Reply

  • Hi Naman,

     

     

    I've been told that HTTP classes are an optimized implementation of the iRule logic. I wouldn't expect significant gains over a well written iRule though. Perhaps someone could give you tips here or in the Performance Testing section (Click here).

     

     

    There aren't any hard set limits on the number of HTTP classes you can use or how many entries you can have in a datagroup. It's dependent on system resources. You could try doing performance testing with a number that is much larger than what you expect to actually use.

     

     

    Aaron