I think its a useful idea worth further exploration.

Of course, one needs to have a multi core dev machine to start properly ;)
Or hyperthreading at least (is that still around??).

Perhaps with rule flow, the "parallel potential" can be made declaraively,
by specifying that certain modules are concurrent in mode, versus ones that
cannot be.

On 12/27/06, Mark Proctor <[EMAIL PROTECTED]> wrote:

In drools there is no longer a single agenda, there are AgendaGroups
with MAIN acting  as  the default. I've  been thinking that it might be
useful to have named Threads  too - so you  can specify a thread for the
AgendaGroup to execute in. This would allow an AgendaGroup  to execute
its rules in parallel with other, and thus the MAIN, thread - however
fact assert, retract and modify will remain a single thread for  now -
so there could  be race conditions between different threads fighting
for the next working  memory action. But this can still be useful, I
think, especially for cases where you have rules with no side  effects.

Mark

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to