Forum Discussion
what is the Pool limit to do URI redirection using irule
Hi Daniel ,
Thanks for the reply , Yes it is VCMP Guest with one core. With single VIP with Port 443 and Cert.
Irule to change the pool based on the URI. The pool members in the pool could be different and the pool members would also listen on a unique port.We will have more than 200 Pools in such a way.
Will it cause any Performance issue ? Please share if any solutions for this requirement.
Thanks..!
Jagadeesh This depends on multiple factors but at face value it shouldn't be an issue. If it's one URI per pool you might consider using a data-group to match in an iRule rather than a long iRule with 200+ entries. Make sure to keep what Daniel_Wolf has stated into consideration.
- JagadeeshSep 27, 2023Altostratus
Thanks Paul , Yes it one URI per pool.May i know if there is any KB article that i can refer.
- PauliusSep 27, 2023MVP
Jagadeesh I don't know of a KB article off the top of my head but I'm sure one exists. The following is what I put together assuming you have a default pool to handle all traffic that isn't defined in the data-group.
when CLIENT_ACCEPTED priority 500 { set DEFAULT_POOL [LB::server pool] } when HTTP_REQUEST priority 500 { set URI [string tolower [HTTP::uri]] if { [class match -- ${URI} eq CLASS-URI-TO-POOL] } { set TEMP_POOL [class match -- -value $URI eq CLASS-URI-TO-POOL] pool ${TEMP_URI} } else { $DEFAULT_POOL } }
In your data-group called CLASS-URI-TO-POOL the string field would have the path and the value field will be the pool name that matches it.
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