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

Slow responses for package documentation #239

Open
kerscher opened this issue Oct 31, 2017 · 2 comments
Open

Slow responses for package documentation #239

kerscher opened this issue Oct 31, 2017 · 2 comments
Assignees

Comments

@kerscher
Copy link
Contributor

When accessing pages with routes such as /:snapshot/package/:package-name and /:snapshot/docs, response times and failure rates are much higher than other pages.

For /:snapshot/docs, the difference is more than double the time it takes to access other pages.

@snoyberg
Copy link
Contributor

snoyberg commented Nov 1, 2017 via email

@kerscher kerscher self-assigned this Nov 2, 2017
@kerscher
Copy link
Contributor Author

kerscher commented Nov 3, 2017

Indices added based on load testing data and correspondent handlers query usage. Besides /package/:package-name, routes using the following handlers improved, sometimes up to 30–50%:

  • getPackageR
  • getAllSnapshotsR
  • getStackageHomeR (!!!)

The big offenders now are getPackageBadgeR and getBranchFeedR — the last one by far the biggest offender.

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

No branches or pull requests

3 participants