mariofusco commented on issue #5731: URL: https://github.com/apache/incubator-kie-drools/issues/5731#issuecomment-1959130392
That's cool because this is probably one of the biggest rules based installation of which I have ever heard. Regarding your question I have a few suggestions: 1. Are you using the executable model, i.e. rewriting the rules in pure Java at compile time? If not I strongly suggest to do so: it will make the compilation time a little longer but will pay back with a much faster startup at runtime. 2. Do all those rules actually belong to the knowledge base? Isn't it possible to shard them, based on the business logic of your application, and then split them in multiple KieBases, each with a more confined and better defined business scope? 3. If you have so many rules I bet that they are automatically generated in some way? If so can you please provide an example of those rules? Maybe we could find some common pattern allowing us to rewrite those rules in a more compact way and reduce their cardinality. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
