# Slow Artefacts Download Performance with OSS 2.x

**URL:** <https://community.sonatype.com/t/slow-artefacts-download-performance-with-oss-2-x/2280>\
**Category:** Sonatype Nexus Repository\
**Tags:** oss\
**Created:** [August 6, 2019, 11:41am UTC](https://community.sonatype.com/t/slow-artefacts-download-performance-with-oss-2-x/2280 "2019-08-06T11:41:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![marc](https://avatars.discourse-cdn.com/v4/letter/m/8dc957/32.png) [@marc](https://community.sonatype.com/u/marc)\
**Post date:** [August 6, 2019, 11:41am UTC](https://community.sonatype.com/t/slow-artefacts-download-performance-with-oss-2-x/2280/1 "2019-08-06T11:41:56Z")

</div>

Hi,

We run Sonatype Nexus Repository Manager OSS 2.14.13-01. We noticed recently that the download speed of artefacts is ~2 times slower than putting the file directly under an HTTP server (e.g. Apache). Interestingly, this 2 times ratio was confirmed from many locations. In one location for example, we get 5 MB/s download speed via Nexus and we get 10 MB/s by downloading the same file but from the same machine but directly under Apache htdocs folder.

Anybody has an idea why we have this factor 2 ratio? By searching and googling I didn’t find any download performance issues for artefacts.  
Checking the performance of the machine, the CPU usage is very low and the network is not limiting anything.

Any help or support is welcome

---

<div class="post-metadata">

**Author:** ![rseddon](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/rseddon/32/341_2.png) [@rseddon](https://community.sonatype.com/u/rseddon)\
**Post date:** [August 6, 2019, 4:39pm UTC](https://community.sonatype.com/t/slow-artefacts-download-performance-with-oss-2-x/2280/2 "2019-08-06T16:39:48Z")

</div>

A guess… if you are downloading via /service/local/repositories URL’s it will be much slower than using /content URL’s, due to the overhead imposed by restlet:

> **[What Happened To issues.sonatype.org?](https://central.sonatype.org/faq/what-happened-to-issues-sonatype-org/)**

---

<div class="post-metadata">

**Author:** ![marc](https://avatars.discourse-cdn.com/v4/letter/m/8dc957/32.png) [@marc](https://community.sonatype.com/u/marc)\
**Post date:** [August 7, 2019, 10:55am UTC](https://community.sonatype.com/t/slow-artefacts-download-performance-with-oss-2-x/2280/3 "2019-08-07T10:55:01Z")

</div>

Thanks for your reply, very appreciated.

In addition to my initial description, I must say that we are comparing the download speed for a large file (\> 1 GB), and everything on a Windows 2008 Server.

I can confirm your guess @rseddon

Option1: Directly under Apache =\>~10 MB/s  
Option 2: /service/local/repositories/… =\> ~4 MB/s  
Option 3: /content/… =\> ~10 MB/s

Furthermore we tried to play with the buffer size (in Jetty.xml) but didn’t help much  
\<Set name=“responseBufferSize”\>512\</Set\>

Thanks a lot!
