Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-1385

CS-D: Loss of incremental performance when using groupBy()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.11.0.GA
    • 7.8.0.GA
    • OptaPlanner
    • 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).
    • Hide

      There is no workaround.

      Show
      There is no workaround.

      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

              lpetrovi@redhat.com Lukáš Petrovický (Inactive)
              lpetrovi@redhat.com Lukáš Petrovický (Inactive)
              Michal Tomčo Michal Tomčo (Inactive)
              Michal Tomčo Michal Tomčo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: