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

Implement most loaded HTTP endpoints #2

Open
AMDmi3 opened this issue Aug 9, 2024 · 1 comment
Open

Implement most loaded HTTP endpoints #2

AMDmi3 opened this issue Aug 9, 2024 · 1 comment
Labels
Component: webapp repology-webapp, repology web application

Comments

@AMDmi3
Copy link
Member

AMDmi3 commented Aug 9, 2024

Endpoints with >1% http requests. HTML responses require a more work (such as template support), so will not be implemented in this issue.

%requests Aggr endpoint Prereqs Done
16.17% /api/v1/project ✔️
15.88% /badge/version-for-repo #3 #4 #5 ✔️
12.80% /badge/vertical-allrepos #3 #4 #5 ✔️
12.21% /tools/project-by
6.93% /badge/tiny-repos #3 #4 ✔️
6.35% /static ✔️
3.73% /project/*/versions #5 ✔️
2.18% /project/*/packages #5
2.17% /badge/latest-versions #3 #4 ✔️
1.51% /project/*/information ✔️
1.22% /projects/ ✔️
1.06% /badge/version-only-for-repo #3 #4
AMDmi3 added a commit that referenced this issue Sep 7, 2024
@AMDmi3 AMDmi3 added the Component: webapp repology-webapp, repology web application label Oct 3, 2024
@AMDmi3
Copy link
Member Author

AMDmi3 commented Oct 12, 2024

Addition, most heavy endpoints by cumulative response time (milliseconds/day). These include both database time, scheduling time and CPU time in backend, and we can cut the latter two.

Time Endpoint Done
2519603 /project/*/information ✔️
2407094 /tools/project-by
2314142 /project/*/packages
2121340 /project/*/versions ✔️
1346715 /project/*/related
1142128 /api/v1/project ✔️
987856 /
966614 /projects/ ✔️
930114 /projects/a/ ✔️
643138 /tools/trending

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: webapp repology-webapp, repology web application
Projects
None yet
Development

No branches or pull requests

1 participant