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
Dependency resolution with large large of artifacts (500 or more) take 20+ minutes #1120
Comments
The actual jar files are required since they're used for calculating the sha256 attributes we use to allow the repository cache to work. Fortunately, there are some thing you can do to make dependency resolution faster:
How many deps are you resolving? And which resolver are you using? 20 minutes seems longer than I'd expect on the kind of connection you're using. |
Thanks @shs96c
|
@shs96c rules_jvm_external already sets the we ended up adding an env var to our fork of RJE which allows us to control the |
I believe #1137 should be able to help. You can pass |
When bumping up a given library version, we need to repin, i.e dependency management runs again and can take more than 20 min in our case (on a relatively fast connection @ 800mbs) and seems very network intensive.
Anything that can be done to speed up this operation?
It looks like each JAR/AAR are being download, however we might only need POM files, maybe this step could be skipped?
The text was updated successfully, but these errors were encountered: