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

Looking up a project by slug is slow #8184

Closed
droyad opened this issue Jun 7, 2023 · 2 comments
Closed

Looking up a project by slug is slow #8184

droyad opened this issue Jun 7, 2023 · 2 comments
Assignees
Labels
kind/bug This issue represents a verified problem we are committed to solving

Comments

@droyad
Copy link
Contributor

droyad commented Jun 7, 2023

[sc-48662]

Severity

UI and API slowness

Version

2022.1 onwards

Latest Version

I could reproduce the problem in the latest build

What happened?

The API call /api/projects/foo (foo being the slug) takes much longer than the call /api/projects/Projects-1 .

This occurs when there are 1000's of projects.

Reproduction

Create 5,000 projects
Select one by slug, takes about 500ms
Select one by id, takes about 50ms

Error and Stacktrace

No response

More Information

An instance of #8142

Workaround

No response

@droyad droyad added the kind/bug This issue represents a verified problem we are committed to solving label Jun 7, 2023
@tothegills
Copy link
Contributor

Release note: Improved response time when requesting projects by slug

@droyad droyad closed this as completed Aug 27, 2023
@Octobob
Copy link
Member

Octobob commented Aug 27, 2023

🎉 The fix for this issue has been released in:

Release stream Release
2023.1 2023.1.11040
2023.2 2023.2.12206
2023.3 2023.3.3099
2023.4+ all releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug This issue represents a verified problem we are committed to solving
Projects
None yet
Development

No branches or pull requests

3 participants