Numerous distinct RuleSets and work classes affect performance
Summary
A developer asks: We are looking at setting up a Smart Dispute system with 400 clients and 400 RuleSets. Each client would have its own RuleSet. The list of RuleSets in the access group would be the only difference across the clients. With all the different RuleSets with the same rules be compiled differently? Will this affect the cache?
The Smart Dispute framework includes a sample class structure.
Suggested Approach
Yes, your approach would affect the cache, and some rules could get compiled differently. The fewer RuleSets you end up with in your approach, the better.
As a better approach, use a single client configuration RuleSet instead of the 400 RuleSets you're considering. The smaller number of RuleSets will ease future development and expansion of your system.
For the class group question: It is the class loader cache that gets affected in this case. Again, fewer is better - a smaller number of class groups will ease further system development.
Previous topic How to improve response by distributing static content to remote edge servers Next topic Performance guidance for production applications - Application Servers