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_bar...@yahoo.com> wrote:

> Dispose of your session and create another.
>
> --- On Wed, 9/16/09, Scott Burrows <scottjburr...@gmail.com> wrote:
>
> > From: Scott Burrows <scottjburr...@gmail.com>
> > Subject: [rules-users] How to prevent activation list creation on
> retracts
> > To: "Rules Users List" <rules-users@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@lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
> >
>
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to