-
Notifications
You must be signed in to change notification settings - Fork 5
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
Constant increase of requests against Dependencytrack #8
Comments
Thank you for your report! If Dependency Track processes a large number of SBOMs, you can expect it to take some time from the Upload of the SBOM to completion. I would add the ability to specify timeout and retry interval. |
Thanks for implementing this so quickly. |
@jon-rei |
Hi @takumakume,
Could it be that the check for the SBOM readiness is not properly aborted? ![]() |
Thank you for the report!
It doesn't occur in my environment.
others. This software will send the SBOM again if it receives a webhook even if it has been sent once. Therefore, if you prevent retransmission with cache, etc., there is a possibility that it will improve to some extent. By the way, is it used in DeepL's infrastructure? I think there are a lot of 3000 projects, so I'm interested! |
Hi @takumakume, |
Thanks!! |
We have been running sbomreport-to-dependencytrack on our clusters for some time. What we can see is that after a dependencytrack restart, the ingress requests are constantly increasing.
In the code I can see that the readiness for uploads is checked every second. Would it be possible to make the interval configurable or even add a timeout? I have a suspicion (but cannot really prove it) that the readiness checks are sometimes running indefinitely.
I could see the requests rising to 4.000 requests/s. For relevance we are managing ~3k projects in Dependencytrack.
![Screenshot 2023-12-05 at 09 16 44](https://private-user-images.githubusercontent.com/21036205/287969451-7697e793-bc10-462e-8370-8fa3d3bed8cb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNjg4NDQsIm5iZiI6MTczOTA2ODU0NCwicGF0aCI6Ii8yMTAzNjIwNS8yODc5Njk0NTEtNzY5N2U3OTMtYmMxMC00NjJlLTgzNzAtOGZhM2QzYmVkOGNiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDAyMzU0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI2YTMxNWMzZTRmY2U0NTM4MWE2Mjc3NDZmODIyNjg4ODFlMTc5MTgwMTJiMjU0OTUxNjc4NDBkZDVlNWE5NTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.WaKH1mDiF9Bc5xmkjHW9gdWC4AL18d0kaMvdJQ43U54)
I can also raise a PR myself for those features.
The text was updated successfully, but these errors were encountered: