Skip to content

[Feature Request] Parallel downloads on upgrade #1865

@chrisidefix

Description

@chrisidefix

brew processes the upgrade command sequentially. I propose to parallelise the download of formulas to reduce wait times when trying to upgrade multiple formulas at the same time.

Option 1:

  • initiate all downloads at the same time and start installing packages as soon as the download completed (considering dependencies, etc and continue to avoid installing packages in parallel)

  • this especially improves the update experience for people with solid internet access, but would probably delay the whole process for people on limited bandwidths (something I am more concerned about)

Option 2 (preferred):

  • initiate the first download as done currently, but immediately start the download of the next package, while the first one is being installed

  • this obviously could significantly reduce the upgrade wait time for people, who compile packages

OLD upgrade time line

    |-download-|-install-|download-|-install-|-download-|-install-|...

PROPOSED upgrade time line

    |-download-|-install-|
               |-download-|-install-|
                          |-download-|-install-|
                                     ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions