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

Improve definitionVersionsWithTenants endpoint performance

XMLWordPrintable

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

      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

        This is the controller panel for Smart Panels app

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

                Created:
                Updated:
                Resolved: