set myMaxRate [findclass $myUserID $::MaxPOSTRates "1"]since 9.4.4, $:: prefix is no longer required to reference data group. data group now is cmp compatible.
Class / Data Group List References
https://devcentral.f5.com/wiki/iRules.cmpcompatibility.ashx
set reqnum [table incr "req:$myUserId"]i am not sure but i think duplicate request may be on different tcp connection (before response of the 1st request has not been received). if yes, i think we do not need to generate reqnum. just adding client ip and port number to table may be okay.
just my 2 cents.