Forum Discussion
Robert_47833
Altostratus
Jul 20, 2011will rand() cause performance issue
rand()
one question about rand
will rand cause performance issue?How to test it?
Can u give me an example
We want to put rand() in production
Robert_47833
Altostratus
Jul 27, 2011Hi,Ryan
skewing is because I can't reset 3561 to 0 in the rule with rand()
I can only set it to
+-> HTTP_REQUEST 3563 total 0 fail 0 abort
| | Cycles (min, avg, max) = (0, 0, 0)
+-> HTTP_RESPONSE 168 total 0 fail 0 abort
and get
+-> HTTP_REQUEST 3563 total 0 fail 0 abort
| | Cycles (min, avg, max) = (0, 466582, 1446128)
+-> HTTP_RESPONSE 168 total 0 fail 0 abort
1:the reason I can't use default profile is besides this pool,under this VS ,there are 10 other pools which don't need persist
so I can only achieve this via irule,this VS dones't have default pool,only irule
1:I don't know how to optimize rand()
2:I don't know how to insert cookie and persist it in irule
pls help me
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