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

Cache getTenant calls

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: L3 - Default
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.6.0, 2.6.0-alpha1
    • Component/s: backend
    • Labels:
      None

      Description

      Context:
      Since the authorization incorporates tenant authorization the TenantService is often called to load tenants and does a full roundtrip to elasticsearch. As the tenant data is not not liekly to change frequently we can cache the result to improve responsiveness and reduce request frequency and sequential IO on request execution.

      AT:

      • tenants read from elasticsearch are cached to improve performance of e.g. sequential definition authorization checks in the context of one user request

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: