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

Improve definitionVersionsWithTenants endpoint performance

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • L3 - Default
    • 2.7.0
    • None
    • backend
    • None

    Description

      Context:
      We see quite bad performance of the `definitionVersionsWithTenants` endpoint on staging.
      After quick look this seems related to the number of tenants available.

      Especially this call seems very redundant
      https://github.com/camunda/camunda-optimize/blob/6e4bff24854aa4cd75da7ddf341b5d5d6e11d25b/backend/src/main/java/org/camunda/optimize/service/AbstractDefinitionService.java#L84

      AT:

      • the implementation of AbstractDefinitionService.createDefinitionsWithAvailableVersionsAndTenants is revised and optimized
      • ideally a performance test is added with let's say 50 definitions (5 versions) and 5 tenants ensuring a response time of <2s

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                sebastian.bathke Sebastian Bathke
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Salesforce