[rules-users] How to prevent activation list creation on retracts
Scott Burrows
scottjburrows at gmail.com
Wed Sep 16 15:00:21 EDT 2009
Thanks Greg but I have tried that, creating a newstatefulsession is slowish,
taking around 800 milliseconds to do. When milliseconds count 800 is too
long. It's faster to do the retracts, they take about 400 millis.
Someone showed a command or configuration recently that tells workingmemory
not to re-eval the rules. I'm looking for that switch or something
equivalent.
Our system is a live transaction system. The trans need to be completed and
ready for the next one in under a second.
Scott
On Wed, Sep 16, 2009 at 2:06 PM, Greg Barton <greg_barton at yahoo.com> wrote:
> Dispose of your session and create another.
>
> --- On Wed, 9/16/09, Scott Burrows <scottjburrows at gmail.com> wrote:
>
> > From: Scott Burrows <scottjburrows at gmail.com>
> > Subject: [rules-users] How to prevent activation list creation on
> retracts
> > To: "Rules Users List" <rules-users at lists.jboss.org>
> > Date: Wednesday, September 16, 2009, 12:50 PM
> > I think this question was asked recently
> > but I cant seem to find it.
> >
> > Using 4.0.7
> >
> > I have a large number of facts I need to retract from
> > working memory after all rules have been processed
> > (transaction is completed) so I can insert new facts for the
> > next transaction. Milliseconds count.
> >
> >
> > I know that drools recalc's which rules are eligible to
> > be run after each retraction. Since all facts are being
> > removed its unneeded processing and time that could be
> > saved.
> >
> > How can I tell drools that until I tell it otherwise do not
> > re-evaluate the rules to save time?
> >
> >
> > Scott
> >
> >
> >
> >
> > -----Inline Attachment Follows-----
> >
> > _______________________________________________
> > rules-users mailing list
> > rules-users at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
> >
>
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090916/6b0c1181/attachment.html
More information about the rules-users
mailing list