[rules-users] Parallelization in Planner

Geoffrey De Smet ge0ffrey.spam at gmail.com
Tue Mar 13 08:52:21 EDT 2012


Hi Nurlan,

This feature isn't implemented yet, but will be resolved together with 
the issue for multi-threading the Solver:
   https://issues.jboss.org/browse/JBRULES-681

I have a working design in my head and on paper here for the basic.
Basically, a Move will be parallelized over CPU's and JVM's.
The critical thing that made this hard is not breaking incremental score 
calculation (delta's),
which would make it slower than single-threaded, not faster, but I 've 
found a way to do that.

I 'll look into jgroups to do the JVM communication by default, but I 
'll probably make that pluggable.

Note: better optimizations algorithms usually beat adding more CPU's - 
but doing both is even better of course :)

Op 13-03-12 05:20, Nurlan schreef:
> Hi, Guys!
>
> I want to know is it possible in drools-planner paralization?
>
> I mean solving 1 planning problem concurrently in 2 or more jvms
>
> --
> View this message in context: http://drools.46999.n3.nabble.com/Paralization-tp3821286p3821286.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>

-- 
With kind regards,
Geoffrey De Smet





More information about the rules-users mailing list