Forum Discussion
Si_Tran_89480
Nimbostratus
Jul 12, 2017Irule question
Is it possible to write an Irule that can redirect certain percent of traffic to different pools?
thanks
Si
eey0re
Cirrostratus
Jul 12, 2017Yes - you would either need a global counter (probably using a table - look at the
class
function) to send every nth request to a different pool, or use a random number generator like this example from the codeshare.Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects