Is it possible to load kbase.cache file directly to save time for loading KieBase in Drools 6 ?
Issue
- It has been observed that after creating a
kjar
through code if users try to load theKieBase
, then it takes the same amount of time and uses the heap memory ofJVM
as as compared to reading the rules/asset files from plain file system. Is thekbase.cache
file inMETA-INF\defaultKieBase\
of thekjar
, which supposedly contains the compiledbytecode
of all the rules/assets, suppose to make the loading time forKieBase
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, tools, and much more.