Forum Discussion

JCMATTOS_41723's avatar
JCMATTOS_41723
Icon for Nimbostratus rankNimbostratus
May 07, 2013

Load Distribution between Pools?

We are trying to distribute load amongst 2 different pools using a 90/10 split. What is the best way about going about doing that with irules?

 

For Example:

 

90% or (9 out of 10) of the connections go to POOL1

 

10% (1 out of 10) of the connections go to POOL2

 

 

2 Replies

  • Have you considered putting everything in one pool and assigning ratios to the pool members?
  • Here's an option:

     

    https://devcentral.f5.com/wiki/iRules.ratio_load_balancing_using_rand_function.ashx

     

     

    Aaron