[jboss-jira] [JBoss JIRA] (DROOLS-4137) KIE Maven Plugin Fails to Load Dependencies for KieBase when Serializing KieBase During Build
Justin Holmes (Jira)
issues at jboss.org
Mon Jun 10 12:09:01 EDT 2019
[ https://issues.jboss.org/browse/DROOLS-4137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13744678#comment-13744678 ]
Justin Holmes commented on DROOLS-4137:
---------------------------------------
[~mfusco] We've change a few things and confirmed that we generate the model source, and that it compiles down to class files. Can you confirm the below benchmark times make sense? This all running on a mac book pro in unit test in a maven build:
* ~200-250ms to load classpath kie container (specify the releaseID and newClasspathKieContainer seem to have the same performace)
* ~200-350ms to create the first session
* ~50ms to fire the first session
Sessions and firing rules are < 1 ms after the first one.
> KIE Maven Plugin Fails to Load Dependencies for KieBase when Serializing KieBase During Build
> ---------------------------------------------------------------------------------------------
>
> Key: DROOLS-4137
> URL: https://issues.jboss.org/browse/DROOLS-4137
> Project: Drools
> Issue Type: Bug
> Affects Versions: 7.22.0.Final
> Reporter: Justin Holmes
> Assignee: Mario Fusco
> Priority: Major
>
> I would like to have kie-maven-plugin build the KJar with a serialized KieBase so that it takes less time to boot strap drools. It appears that the maven configuration used by the kie-maven-plugin is broken, or at least there is not sufficient documentation to set it up.
> See https://groups.google.com/forum/#!topic/drools-setup/0TZvE5lpcto for more information.
> Documentation is VERY limited / scattered in different areas. It probably needs updates. If we can get help to get the build working / bug fixed, we would be happy to submit a doc fix.
> We are trying to use drools in a severless environment (though not quite ready for Quarkus). If we are unable to use this build feature, we may be unable to use drools.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list