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

providers should download small files concurrently #700

Open
willmurphyscode opened this issue Oct 4, 2024 · 0 comments
Open

providers should download small files concurrently #700

willmurphyscode opened this issue Oct 4, 2024 · 0 comments
Labels
enhancement New feature or request performance CPU or memory resource utilization of a provider

Comments

@willmurphyscode
Copy link
Contributor

What would you like to be added:

Right now, Vunnel spends a long time running for providers that download many small files, because it downloads these files one at a time. Instead, Vunnel should download N files concurrently in order to spend less wall clock time blocked on network I/O.

Why is this needed:

It makes vunnel and grype-db easier to work on because providers will finish faster.

Additional context:

Example of provider downloading small files one at a time: https://github.com/anchore/vunnel/blob/main/src/vunnel/providers/amazon/parser.py#L115

@willmurphyscode willmurphyscode added enhancement New feature or request performance CPU or memory resource utilization of a provider labels Oct 4, 2024
@willmurphyscode willmurphyscode moved this to Ready in OSS Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request performance CPU or memory resource utilization of a provider
Projects
Status: Ready
Development

No branches or pull requests

1 participant