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

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 2.0.0, 2.0.0-alpha3
    • Affects Version/s: None
    • Component/s: backend
    • None

      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.

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Johannes
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: