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

Filtering on an exact purl in API take over 1min #1415

Closed
tdruez opened this issue Feb 12, 2024 · 4 comments · Fixed by #1631
Closed

Filtering on an exact purl in API take over 1min #1415

tdruez opened this issue Feb 12, 2024 · 4 comments · Fixed by #1631

Comments

@tdruez
Copy link
Contributor

tdruez commented Feb 12, 2024

Looking for an exact purl can take over 1 minute to render. That's a major usability issue.
https://public.vulnerablecode.io/api/packages/?purl=pkg:pypi/django@1.4.9

@TG1999
Copy link
Contributor

TG1999 commented Feb 12, 2024

It's not an exact purl problem, also happens with https://public.vulnerablecode.io/api/packages?type=pypi&name=django, this is due to the large volume of data and the many operations done to get django data in the background. Opened a ticket here #1416

@pombredanne
Copy link
Member

It is faster but still takes about 10 to 15 seconds and is not fast enough

@pombredanne
Copy link
Member

FYI, the key code to get this fixed is the new API design in #1572

@TG1999
Copy link
Contributor

TG1999 commented Nov 20, 2024

Please look at #1572 on what we did to tackle this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging a pull request may close this issue.

3 participants