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

Noelios-Restlet-Engine/1.1.6-SONATYPE-5348-V8 offers inferior performance and functionality in comparison to content plugin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.13
    • Fix Version/s: None
    • Component/s: Browse Storage, REST
    • Labels:

      Description

      1. Accept-Ranges http header not advertised by Noelios-Restlet-Engine/1.1.6-SONATYPE-5348-V8
      2. There is performance difference between REST content url and Content url. REST is 10 times slower. Regression from 2.3.
      3. Browse storage advertises REST url instead of content one.

      Details:
      Ad 1.
      Tested on 2.13 Windows Server 2012 and Windows Server 2008 R2
      Depending on the URL nexus supports partial requests or not. I think this has to do with the plugin being selected. But maybe it is the expected behavior.
      Please see the following two requests. Note content of "Server" header as well as "Accept-Ranges" missing when Noelios-Restlet-Engine/1.1.6-SONATYPE-5348-V8 is being involved.
      What is more, browsing advertises the second URL.
      curl -I http://nexustest:8081/nexus/content/groups/public/com/Artifact/16.00.0000.05317/16.00.0000.05317-windows-msvc120.zip
      HTTP/1.1 200 OK
      Date: Sat, 30 Jul 2016 08:12:11 GMT
      Server: Nexus/2.13.0-01
      X-Frame-Options: SAMEORIGIN
      X-Content-Type-Options: nosniff
      Accept-Ranges: bytes
      ETag: "{SHA1{4c5e30667f17ef405a68632b5d5437e25791f419}}"
      Content-Type: application/zip
      Last-Modified: Thu, 05 May 2016 13:42:08 GMT
      Content-Length: 676987758
      curl -I http://localhost:8081/nexus/service/local/repo_groups/public/content/com/Artifact/16.00.0000.05317/16.00.0000.05317-windows-msvc120.zip
      HTTP/1.1 200 OK
      Date: Sat, 30 Jul 2016 08:19:02 GMT
      X-Frame-Options: SAMEORIGIN
      X-Content-Type-Options: nosniff
      Server: Nexus/2.13.0-01 Noelios-Restlet-Engine/1.1.6-SONATYPE-5348-V8
      Content-Type: application/zip
      Last-Modified: Thu, 05 May 2016 13:42:08 GMT
      ETag: "{SHA1{4c5e30667f17ef405a68632b5d5437e25791f419}}"
      Vary: Accept-Charset, Accept-Encoding, Accept-Language, Accept
      Content-Length: 676987758

      Ad 2. Downloads via REST urls (747kb/s) are order of magnitude slower than using content (8MB/s) over local network. 2.3 did not have this behaviour. Both urls were equally fast.

      I am not consciously using REST so it would be good if i could configure nexus in a way that rest plugin does not get into my way. I understand that it might be required by some functionality. Since it seems to duplicate the functionality of content plugin, obviously it is not needed to serve maven content.
      See also https://issues.sonatype.org/browse/NEXUS-10534

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              plynch Peter Lynch
              Reporter:
              j-cztery Jacek Tomaka
              Last Updated By:
              Rich Seddon
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title