Forum Discussion
iRule help - Routing traffic
Hello,
Sorry for the delay, got pulled in another direction. But I have a couple of questions, I ran a JMeter test with a hundred threads(100 users) connecting to VirtualServer_01 and Pool_01_80. The test ran successful, under statics for VirtualServer_01 the Maximum connections showed 100 and it showed the same for Pool_01_80. Each pool has 5 web servers, during first test without iRule, each server showing 20 connections. I then cleared the statics and attached the below iRule to the virtual server. I then ran a second test with 100 threads(100 users). The virtual server showed 100 connection. Pool_01_80 showed 198 maximum connections and Pool_02_80 showed 51 maximum connections. Can you please tell me why the numbers seem off? I'm I reading it correctly?
when HTTP_REQUEST { if { rand() > 0.25 } { pool Pool_01_80 } else { pool Pool_02_80 } }
Thank you,
- Sep 22, 2015Been wrecking my brain, but I can't explain that one. In my lab I got 3 times more connections to Pool _01 compared to Pool_02. No other interfering iRules?
Recent Discussions
Related Content
* 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