Cache getTenant calls

XMLWordPrintable

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

      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

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

              Created:
              Updated:
              Resolved: