Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
apk-tools
apk-tools
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 60
    • Issues 60
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 14
    • Merge Requests 14
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • apk-toolsapk-tools
  • Issues
  • #5977

Closed
Open
Opened Jul 27, 2016 by Noah Nordrum@nnordrum

Parallel Downloads for "apk add"

I think it would be great to have the option to do parallel downloads of packages, with a configurable amount of threads. Something like “apk —no-cache —parallel=8 add openjdk8”. (with a default of 1)
You could also grab the various APKINDEXes using that same thread pool.

If you didn’t want to hammer the CDNs, you could add a hard-coded exemption to *.alpinelinux.org or something.

I’m running a local mirror of dl-cdn.alpinelinux.org, so I would really like to take advantage of my internal bandwidth.

Since all the dependency information is in APKINDEX, I would think it wouldn’t be too painful to throw it in a prioritized queue and delegate to an executor of some kind, but I haven’t looked at the internals (yet).

(from redmine: issue id 5977, created on 2016-07-27)

Assignee
Assign to
v3.0
Milestone
v3.0
Assign milestone
Time tracking
None
Due date
None
Reference: alpine/apk-tools#5977