New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
extremely slow artifact uploads #565
Comments
Are you deploying to clojars? If so, try using canonical deploy url |
No, we're deploying to a private nexus server. Although I could test other repositories, I don't think the issue is on that end given that leiningen and maven upload speeds are normal. |
Okay.
Leiningen automatically uses the canonical deploy url for deploys and cdn for downloads, only Boot uses CDN for both. But probably this issue is caused by something else. |
The problem was an expensive evaluation of a debugging argument for all calls of the
With the patched version and a |
You have probably done it already but check #558. |
@arichiardi Yes, looked at it. The important change for us is moving from a function to a macro for the |
Fix to be done with #558. |
Fixed via #558 |
We're currently experiencing a problem with boot 2.6.0+ where uploads for large artifacts take an extremely long time: 6.5 minutes for a 50 MB artifact. The same upload (same client, same server) only takes 30 seconds with boot v2.5.5, leinigen 2.7.1, and maven 3.3.9.
Although there are significant changes to the "deploy" code in boot.aether between boot 2.5.5 and 2.6.0, nothing jumps out as a obvious cause of this.
However when looking at the debug output for the upload with boot 2.6.0, one possible cause might be a change in the default buffer size. The progress transfer events show:
indicating a buffer size of 2K. Downloads (uploads aren't instrumented) with boot 2.5.5 shows a buffer size of 4K. The buffer size and other default transfer do not appear to be set explicitly anywhere in the boot code.
The text was updated successfully, but these errors were encountered: