Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-5518

Add Gitty authentication cache

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.20.1
    • Component/s: Git Access

      Description

      Gitty server is requesting authorization to Nuxeo nodes for each git requests.

      Authorization resolution is "heavy" as it requires a directory session plus a core session to be resolved.

      As seen in NXCONNECT-2159, during package resolution we require are doing a lot of requests against Gitty to resolve package dependencies which lead to most of the time spend in networking IO.

      By adding a short time-based cache on user rights, we could prevent half of the requests done during that load.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.