Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-958

Cache counts for engine instances to minimize the amout of engine requests

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • L3 - Default
    • 2.0.0, 2.0.0-alpha3
    • None
    • backend
    • None

    Description

      AT:

      • the counts of historic variable instances/process instances/activity instances are cached for each process definition
      • a single process definition instance count in the cache is updated as soon as the process definition based index handler fetches instances for a single process definition
      • ScrollBasedIndexHandler do not update the count in every import round but only, when the progress is calculated
      • ScrollBasedIndexHandler do not perform a request to the engine on update count, but rather check elasticsearch for that

      Hint:
      right now we always fetch the total count of variable/activty/process instances. However, this gets very expensive (especially in postgres) with huge amount of data, which results that the import does not continue and the import progress returns wrong results.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              johannes.heinemann Johannes
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce