OK.

A simple test.

(a) Download the PKG file using the URL in the change-set (just paste into a browser) and (b) add to a KnowledgeBuilder manually.

If (a) is slow ensure it has been built in Guvnor first. If it is still slow then I don't suspect the package compilation but something (not Drools) related.

If (b) is slow then that's how long it takes to load the binary package (but I suspect, and hope, this is not slow).

On 22 May 2012 17:12, mpgong <michael.p.gong@lmco.com> wrote:
Here is what my change-set.xml looks like.

<change-set xmlns='http://drools.org/drools-5.0/change-set'
   xmlns:xs='http://www.w3.org/2001/XMLSchema-instance'
   xs:schemaLocation='http://drools.org/drools-5.0/change-set
http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-api/src/main/resources/change-set-1.0.0.xsd'
>
   <add>
        <resource
source='http://ibeserver:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/com.ibe.rules.CheckResults/LATEST'
type='PKG' />
   </add>
</change-set>

So i am using the PKG type.  Now i can't believe that it is sending the
300KB or so package over the network that is slow, though possible.

--
View this message in context: http://drools.46999.n3.nabble.com/How-to-use-Guvnor-effectively-tp4006811p4006951.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users