Forum Discussion
Eric_Werner_283
Nimbostratus
Aug 12, 2010Use of pipe in if statement
I'm trying to find out if I can configure an if statement that checks for one of a series of possible values, like this:
if { $avp_code == 304|305|309} {
do stuff
}
Is the syntax correct, or wou...
Eric_Werner_283
Nimbostratus
Aug 24, 2010Posted By iRuleYou on 08/24/2010 08:31 AM
Wow, a lot of logic there... What are you accomplishing with the above iRule?
Round robin load balancing of Diameter messages. Unfortunately, because of the need to do a little bit more than just a simple RR LB, such as changing the Origin Host on responses from the server, the iRule is needed instead of just using the Diameter profile. Lab testing found that the max supportable TPS was about 10,500 on a 6900 running 10.1. With more clients, and attention paid to even client distribution across the TMM's, we could probably push that higher, since 15 Seagull clients running concurrently for a total of 8500 TPS had the total CPU load a little over 70%. This iRule does introduce a load hit on the CPU, and a rather significant load at that.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
