Forum Discussion
what is the Pool limit to do URI redirection using irule
Hi Jagadeesh, the solution Paulius provided is the same way I'd recommend to solve the problem. iRules and data-groups are the way to go. This solution will perform.
For your question regarding the performace - there is not a straight yes or no answer.
Just as an example - if you use RSA certificates with a key lenght of 4096 this is much heavier on the CPU than using ECC certificates with a key length of 384. While both offer similar level of security.
Also we don't know how much troughtput and how many requests/sec you are expecting. Sizing a BIG-IP requires more than just the knowledge about one iRule.
My gut feeling is - one CPU is only for lab environments. For prod a I recommend a minimum of two.
For the sake of completeness, I wrote a shorter iRule. I find using SET rather unSETteling. 🙂
when RULE_INIT priority 500 {
# enable (1) / disable (0) logging
set static::contentswitching_debug 0
}
when HTTP_REQUEST priority 500 {
if {[catch {pool [class match -value [string tolower [HTTP::path]] starts_with dg_l7_routing]}]} {
# default pool
pool pl_default_pool
}
if { $static::contentswitching_debug } { log local0. "Using pool: [LB::server pool]" }
}- JagadeeshSep 28, 2023
Altostratus
Thanks Daniel , I will try it out and keep you posted.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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