You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All dependencies are downloaded in parallel, as much as my connection can handle (possibly with a way to define a cap at maximum parallel connections for when using a constrained connection).
They are all available within a few seconds thanks to my 1GBps optic fiber connection, or in a few seconds thanks to LTE/5G, whatever.
Current Behavior (optional)
All dependencies are downloaded sequentially, wasting developer time, and CI time.
Context
I was updating a bunch of dependencies, and Gradle sync took more than 2 minutes, on a powerful computer, with a powerful connection.
That's barely 1MB/s, or 8Mbps, when my connection could do hundreds of time more! Optic fibers and Maven repos can handle parallel connections! 469 requests is very little per today standards.
I think we can do better in 2024 :)
We have coroutines in Kotlin, we have async APIs, we have project Loom in Java, with have 10 CPU cores in many laptops, we have high bandwidth, SSDs…
Those can handle Billions of things every second if used right.
That's all I had to say.
Thank you and have a great day!
Belle journée :)
Louis CAD
The text was updated successfully, but these errors were encountered:
We have many layers of parallelism around dependency resolution. One current limitation is the configuration phase, where we resolve configurations one by one with a parallelism for downloads.
This will be addressed by Isolated Projects.
Can you provide a small reproducer with a build scan that showcases your scenario/build setup, please?
ov7a
added
the
pending:feedback
Indicates that changes or additional info are required, and the issue will be closed without them
label
Apr 22, 2024
While we asked for feedback, none was provided. If you provide the requested feedback, we will consider this issue again. In the meantime, closing as missing feedback.
Expected Behavior
All dependencies are downloaded in parallel, as much as my connection can handle (possibly with a way to define a cap at maximum parallel connections for when using a constrained connection).
They are all available within a few seconds thanks to my 1GBps optic fiber connection, or in a few seconds thanks to LTE/5G, whatever.
Current Behavior (optional)
All dependencies are downloaded sequentially, wasting developer time, and CI time.
Context
I was updating a bunch of dependencies, and Gradle sync took more than 2 minutes, on a powerful computer, with a powerful connection.
That's barely 1MB/s, or 8Mbps, when my connection could do hundreds of time more! Optic fibers and Maven repos can handle parallel connections! 469 requests is very little per today standards.
I think we can do better in 2024 :)
We have coroutines in Kotlin, we have async APIs, we have project Loom in Java, with have 10 CPU cores in many laptops, we have high bandwidth, SSDs…
Those can handle Billions of things every second if used right.
That's all I had to say.
Thank you and have a great day!
Belle journée :)
Louis CAD
The text was updated successfully, but these errors were encountered: