Forum Discussion
Colin_Walker_12
Dec 03, 2008Historic F5 Account
That looks like an awfully intensive iRule to me. Any time you're looking at doing for loops and multiple global variables and array lookups...that starts getting pretty processor intensive...especially the loops.
Your thought about using a cookie after the first lookup is a good one as well. I'd recommend trying to get to the point where a cookie is used for persistence after the first request, which will GREATLY reduce the number of times this iRule needs to be processed. After that I'd start looking into trimming down this iRule. We can certainly help with that if needed as well, but pursuing the persistence option is a good first step.
Colin