[rules-users] New project is Drools Engine suitable for it ?
Corneil du Plessis
corneil at tsctech.com
Tue Oct 26 09:32:51 EDT 2010
You have to consider the number of users and the frequency of rule changes.
The persistent rules are combined at runtime into a ruleset used by the
engine. Multiple sessions can be executed from a ruleset.
If the User-specific rules are added to a the global rules in such a way
that the criteria identifying the User is part of the matching criteria
for the rule you could have a single ruleset for all users.
There is an overhead to the initialization of rules which means that if
performance is important you would do better to maintain a single
ruleset at runtime.
If the ruleset is invalidated frequently by changes to rules then it
would be better to maintain a ruleset per User and build the ruleset on
demand and cache the ruleset.
On 2010-10-26 11:36, Gregory Czerwinski wrote:
> Question about Drools usage ?
>
>
> Hello All.
>
> I have question about using Drools in my new project. I have this kind of
> scenario to fufill with rules engine.
>
> Scenarios.
>
> Each user has it own set of rules that determine if he should be notified
> about event,
> and those are fully editable by system administrators.
> There are also global rules indicating that User should be notified – common
> for all users.
>
> My question is how to use Drools engine in this concert situation, as it is
> not global set of rules that can be putted once in to engine, but set of
> changing per User rules ?
>
> Thanks for help : )
>
More information about the rules-users
mailing list