Skip to content
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

Add concurrency for tag/digest reading #445

Open
TerryHowe opened this issue Feb 15, 2023 · 1 comment
Open

Add concurrency for tag/digest reading #445

TerryHowe opened this issue Feb 15, 2023 · 1 comment
Labels
question Further information is requested stale Inactive issues or pull requests

Comments

@TerryHowe
Copy link
Member

TerryHowe commented Feb 15, 2023

Add concurrency for reading tags/digests similar to the tagging concurrency.

Scan and resolve every tag in the list will degrade the performance. Below are some experiments I made based on the current implementation:

oras repo tags docker.io/library/alpine | wc
time oras repo tags docker.io/library/alpine:latest
oras repo tags mcr.microsoft.com/cbl-mariner/distroless/minimal | wc
time oras repo tags mcr.microsoft.com/cbl-mariner/distroless/minimal:1.0

On my computer , it takes DockerHub 47.442 seconds to scan 129 tags, and MCR 19.192 seconds to scan 141 tags.

Originally posted by @qweeah in oras-project/oras#800 (comment)

@shizhMSFT
Copy link
Contributor

@TerryHowe Could you elaborate more on this feature request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested stale Inactive issues or pull requests
Projects
None yet
Development

No branches or pull requests

2 participants