-
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:
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
- is related to
-
NEXUS-5790 Download speeds reduced in recent Nexus versions
-
- Closed
-
-
NEXUS-812 Improve artifact streaming speed
-
- Closed
-
- links to