plexsystems / sinker

A tool to sync images from one container registry to another
MIT License
609 stars 53 forks source link

Parallelize copy/client.ImageExistsAtRemote calls #72

Open aslafy-z opened 1 year ago

aslafy-z commented 1 year ago

When working with a big list of images, getting the remote manifests synchronously can take minutes. I believe this can easily be parallelized to get some better results.

This is the synchroneous loop that takes time https://github.com/plexsystems/sinker/blob/main/internal/commands/copy.go#L84

jpreese commented 1 year ago

This makes sense to me!