Forum Discussion
JHally_43299
Dec 21, 2011Nimbostratus
Injecting latency into application requests?
Hello All, is it possible to inject latency into client requests for an application to degrade the user experience? the goal is to degrade performance of an application by a se...
Colin_Walker_12
Dec 28, 2011Historic F5 Account
The after command is non blocking. It will fire and allow the connection to continue processing as normal, so there would be no inherent latency. That is, in fact, the entire purpose of the after command: to allow you to continue processing a session while assigning some task to be done at a specified time. To actually pause the connection and add latency, you need to do something that will suspend things, like a collect, a loop, etc. A collect is likely the safest means is all.
I still want to make sure everyone knows this practice is generally a very bad thing, as it can slow things down that you aren't expecting...but there you have it. ;)
Colin
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