Forum Discussion
Deb_Allen_18
Oct 05, 2006Historic F5 Account
Optimizing large lookup tables
I have several customers requesting various functionality such as selective rate limiting, access filtering, geo load balancing, etc, all of which would require very large reference tables (4000+ rows).
This post (http://devcentral.f5.com/Default.aspx?tabid=28&view=topic&forumid=5&postid=8241 Click here) seems to indicate that an external class is NOT the ideal way to approach this issue, instead perhaps the data could be imported into an array for more optimal access.
I'm hoping to get some clarification on unRuleY's comment in that post about initializing the array.
Is the recommended approach there to use another high-priority rule specifically written to access the external class and re-write it into an array? I'm assuming we'd need to leverage the RULE_INIT event, but I'm not sure how to parse through a class and re-write all the records to an array.
I'm a bit concerned that initializing the array in this manner might consume excessive system resources each time the config is reloaded.
Bottom line, I know I can create the rule logic to gain the filtering functionality required, but need to know for sure how to manage the large lookup tables and some idea as to real-world max lookup table size.
Any feedback much appreciated.
/deb
- unRuleY_95363Historic F5 AccountNope, I was not referring to using the RULE_INIT event to initialize the array. What I was referring to do was to create a seperate VIP/iRule that would be then used to manage the array by some external device/program.
- Deb_Allen_18Historic F5 AccountThanks unRuleY -
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