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

Docker image manifest list ("fat manifest") query is very slow (>8 seconds)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Parked
    • Affects Version/s: 3.6.0, 3.6.1, 3.7.0
    • Fix Version/s: None
    • Component/s: Docker

      Description

      This issue is forked from ticket -NEXUS-14700- (includes logs, component db, etc...)

       

      We are experiencing very slow response when performing a Docker image manifest list (aka "fat manifest") query via the Docker v2 API.

       

       

      $ time curl -H 'application/vnd.docker.distribution.manifest.list.v2+json' -X GET https://<nexus>/v2/monitoring/prometheus/manifests/v2.0.0
      
      <content omitted>
      
      real 0m8.217s 
      user 0m0.030s 
      sys 0m0.000s
      

      The above query took >8 seconds to complete, in contrast a similar query for the image short manifest takes ~1 second:

      $ time curl -H 'Accept: application/vnd.docker.distribution.manifest.v2+json' -X GET https://<nexus>/v2/monitoring/prometheus/manifests/v2.0.0
      
      <content omitted>
      
      real 0m1.186s
      user 0m0.030s
      sys 0m0.010s
      

       

      Details on the queries can be found in Docker v2 API spec

      • application/vnd.docker.distribution.manifest.v2+json: New image manifest format (schemaVersion = 2)
      • application/vnd.docker.distribution.manifest.list.v2+json: Manifest list, aka "fat manifest"

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            devops Danny Kulchinsky
            Last Updated By:
            Manuel Ryan Manuel Ryan
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title