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
- is related to
-
OPT-2871 Create definition tenant and version grouping with an elasticsearch aggregation
- Done