Hi everyone, I'm very interested by these explanations because I'm trying to setup an iRule redirecting people to different websites depending on their "connection speed" to the load balancer ... Here is my iRule, but the RTT I'm measuring are not relevant
😞 I guess that's because there is not enough traffic to detemine a relevant value
How could I generate this kind of traffic with the same iRule in order to have a more precise RTT measure ?
when HTTP_REQUEST {
clientside { set rtt [TCP::rtt] }
set clientip [IP::remote_addr]
if {$rtt < 5600 } {
log "$clientip redirect fast $rtt"
HTTP::redirect "http://fast-site"
} else {
log "$clientip redirect slow $rtt"
HTTP::redirect "http://slow-site"
}
}
thanks everyone for your help