-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
List of artifacts with with_sbom_overview=true is slow #21281
Comments
@strigazi can you try to reproduce this on our demo environment demo.goharbor.io and pose the results here? |
@Vad1mo This demo deployment performs clearly better, but a difference in response time can still be observed.
[0] I ceated the testing environment like below:
|
I would like to also add that in our environment I see the following
|
After #18610 it looks like queries for artifacts with with_scan_overview=true are very fast.
However when with_sbom_overview=true is used in repositories with multi-arch artifacts (with or without with_scan_overview=true), the API call is really slow.
This for a repository with both
linux/arm64
andlinux/amd64
artifacts and the oci manifestsThese are for a repository with the same tags but only
linux/amd64
I get this numbers with the curl or in the UI for the following url:
https://example.com/api/v2.0/projects/<a project>/repositories/<a repo>/artifacts?with_tag=false&with_scan_overview=true&with_sbom_overview=true&with_label=false&with_accessory=false&page_size=50&page=1
The testing repository is for:
image:
rancher/hyperkube
tags:
17
The text was updated successfully, but these errors were encountered: