Forum Discussion
hooleylist
Nov 23, 2010Cirrostratus
Hi mrintzler,
Can you clarify what you're trying to accomplish?
Where are you defining $webapp_session? I don't see this set in the iRule. One issue I see is that you're incrementing the table before you check to see if you're over the limit. It would be more efficient to check if you're over the limit before doing any table additions/changes.
Also, if you're on a CMP capable platform, I'd also suggest changing the global variable $::webappmaxRate to a static variable, $static::::webappmaxRate. This will allow the iRule to run on all TMM instances instead of just one.
Aaron