-
Bug
-
Resolution: Done
-
Critical
-
7.8.0.GA
-
None
-
Release Notes
-
-
-
-
-
-
High
-
CR1
-
This is a known issue, which hasn't been fixed yet. The only workaround is to use a different score calculation (e.g. DRL or incremental).
-
In some OptaPlanner examples, we have seen major performance degradation when switching to Constraint Streams. (As much as 95 % of DRL performance can be lost.) This has been shown to come from the way that the groupBy() building block is implemented using Drools.
The problem gets progressively worse with bigger data sets, clearly pointing to a scalability issue.
The solution is to redesign the CS-D implementation to handle groupBy() more efficiently. More specifically, the use of more than one from() DRL statement needs to be avoided.
Some more information can be found in the following working document:
https://docs.google.com/document/d/1s4pMSN3qLO5LLE7PeMAwj5RQfpzvu8wkqj_t5jB3cEc/edit
- clones
-
PLANNER-2003 CS-D: Loss of incremental performance when using groupBy()
- Resolved
- is related to
-
PLANNER-2163 CS-D: Loss of incremental performance when using multiple groupBy() in one constraint
- Resolved