I read a lot of JBoss Drools documentation, but I canโt find a definitive answer as to whether all the rules are executed at the same time (of course, they run at the same time). More specifically, for a single entry and a set of rules, for example 1000 rules, fulfill the conditions โwhenโ and โthenโ in each rule, execute sequentially one after another or in parallel at the same time.
On the one hand, the rete algorithm implies parallelism, of course, when the selection nodes collapse. However, after optimizing the nodes, a consistent assessment is performed? Both the beta memory and the connection nodes look as if they should be running at the same time, but are they?
In addition, the Drools documentation speaks of "sequential mode", saying that it is disabled by default. So what is included, parallel mode? And there is a maxThreads option, implying threads.
On the other hand, I was told that the code does not use threads and therefore evaluates at the same time, but performs, for the most part, sequentially.
Has anyone seen any documentation that somehow handles the case?
Thank!
source
share