Is it possible to load kbase.cache file directly to save time for loading KieBase in Drools 6 ?

Solution Unverified - Updated -

Issue

  • It has been observed that after creating a kjar through code if users try to load the KieBase, then it takes the same amount of time and uses the heap memory of JVM as as compared to reading the rules/asset files from plain file system. Is the kbase.cache file in META-INF\defaultKieBase\ of the kjar, which supposedly contains the compiled bytecode of all the rules/assets, suppose to make the loading time for KieBase any faster ?
  • Is there a way that users can load this kbase.cache directly and execute the rules?

Environment

  • Red Hat JBoss BRMS (BRMS)
    • 6.0.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In