Forum Discussion
Paul_Dawson_103
Feb 15, 2006Nimbostratus
Simulating Latency
Hello,
We are looking to simulate latency on the network to test an application in a WAN environment.
Would it be plausible looking to iRules to investigate if this is possible? ...
JRahm
Feb 15, 2006Admin
I was thinking for loops. I tested this in the lab, on my BigIP this equates to about 58 milliseconds of delay:
when CLIENT_ACCEPTED {
set y1 [clock clicks -milliseconds]
for { set x 0 } { $x < 100000 } { incr x } {do nothing}
set y2 [clock clicks -milliseconds]
set time1 [expr $y2 - $y1]
log "For loop time is $time1 milliseconds"
}
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