Forum Discussion
Arun_02_139047
Nimbostratus
Jan 09, 2014Load Balancing Multiple pool members
Hello -
I am looking to create multiple pools with a one-to-one mapping between pool and my application cluster. I want to load balance these pools in a round robin fashion. I dont know if i can...
Arun_02_139047
Nimbostratus
Jan 09, 2014I think I came up with something 🙂 Please suggest what you think.
when RULE_INIT {
set ::active_connections 0
}
when CLIENT_ACCEPTED {
if {$::active_connections % 3==0) then {
incr ::active_connections 1
pool pool0
} elseif {$::active_connections % 3==1) then {
incr ::active_connections 1
pool pool1
} elseif {$::active_connections % 3==2) then {
incr ::active_connections 1
pool pool2
}
}
when CLIENT_CLOSED {
incr ::active_connections -1
}
Torti
Cirrus
Jan 10, 2014what type of persistence are used by the applications? are they all equal?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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