Hi,
in your case is there no way to insert data at other moments ? do you need
all the data you insert ?
If you use statefull session you can insert data during time and not at
once.
Also, the more rules you have with complex when conditions => The rete is
big so inserting takes time.
On on of my project, using a rule flow makes it easier as you make decision
step by step. So for each step, the rete graph is smaller (it my view when
you divide in smaller steps) => Quicker when you insert.
Hope it helps
Nicolas Héron
2010/5/5 Wolfgang Laun <wolfgang.laun(a)gmail.com>
Not having any clue about the fact structure (field types) and rule
patterns
makes it impossible to advise.
"Moving conditions around" is, of course, one way, but there might be
things you have overlooked; or essentially different techniques.
-W
On Wed, May 5, 2010 at 10:19 AM, djb <dbrownell83(a)hotmail.com> wrote:
>
> Hi Drools team,
>
> I wrote a Drools application for my company, which evaluates clinical
claim
> processing rules. That is, it checks current medical claims against the
> patient's historical claims.
>
> It appears that 95% of the run time is dedicated to inserting facts,
which
> is presumably when it propagates through the RETE graph, since firing the
> rules takes no time.
>
> But it seems like it's not fast enough. I made a rule template, which by
> trial and error of moving the conditions around, is optimised. I'm
> averaging 310ms, and need it to be under 170ms for it to be viable.
>
> Is there any not-too-technical guide to optimisation somewhere? (alpha
and
> beta-nodes scare me a bit).
>
> Regards,
> Daniel
>
>
> --
> View this message in context:
http://drools-java-rules-engine.46999.n3.nabble.com/Insert-Fact-Speed-bot...
> Sent from the Drools - User mailing list archive at
Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users