Visitar URL original
Slow responses for package documentation · Issue #239 · commercialhaskell/stackage-server · GitHub
Skip to content

Slow responses for package documentation #239

Open

Description

@kerscher

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.

Activity

  1. snoyberg commented on Nov 1, 2017

    @snoyberg
    Contributor
  2. self-assigned this
    on Nov 2, 2017
  3. kerscher commented on Nov 3, 2017

    @kerscher
    ContributorAuthor

    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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions