Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-31395

Docker uploads serialized, can cause performance bottleneck

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.10.0, 3.34.0, 3.37.3
    • Fix Version/s: 3.39.0
    • Component/s: Docker
    • Story Points:
      1
    • Sprint:
      NXRM Immortals Sprint 30, NXRM Immortals Sprint 31
    • Notability:
      3
    • InvestmentLayer:
      support-escalated
    • Aha Concept:
      non-concept

      Description

      As a result of changes made in NEXUS-15722, all uploads to docker repositories are serialized through the org.sonatype.nexus.repository.docker.internal.UploadManagerImpl.startUpload() method.

      This can cause a huge backup of requests if the file system underlying blob storage is slow.

      Expected: That fix is needed for HA-C, but I don't think it is needed for non-HA-C mode. Assuming that is correct we should only serialize those uploads when running in HA mode. Or alternatively, perhaps we can be smarter about what we're locking (maybe item path).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mpiggott Matthew Piggott
              Reporter:
              rseddon Rich Seddon
              Last Updated By:
              Michael Oliverio Michael Oliverio
              Team:
              NXRM - Optimus
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title