Peter_Z
Mar 12, 2013Cirrus
Redirecting 20 000 URLs - Performance impact?
Hello,
we had a request from our customer to configure a redirect for approx. 850 URLs (request starting with specified path, but not anything else) on the BIG-IP LTM. We're using iRule (see below) and Data Group referencing external text file. Now the customer is asking what would be the performance impact on the BIG-IP if we extend the URI list to about 20 000.
Does anybody know if external data group with 20 000 records will have any performance impact on the BIG-IP? We're using BIG-IP 11000s.
iRule we are using now (true dns names/paths were replaced) :
when HTTP_REQUEST {
set PATH [string tolower [HTTP::path]]
if { [HTTP::host] equals "oldserver" } {
switch [HTTP::uri] {
"/default.aspx" { HTTP::redirect "" }
"/" { HTTP::redirect "" }
"/membership.aspx" { HTTP::redirect "" }
"/pages/findareas.aspx" { HTTP::redirect "" }
"/globalareas.aspx" { HTTP::redirect "" }
"/groupareas.aspx" { HTTP::redirect "" }
}
if { !($PATH ends_with "/") } {
set PATH $PATH/
}
if { [class match $PATH contains redirect_datagroup] } {
HTTP::redirect "]"
}
}
}