Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,761
    • Issues 44,761
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,332
    • Merge requests 1,332
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #299447
Closed
Open
Issue created Jan 21, 2021 by Grant Young@grantyoungDeveloper

Improve performance of Project Releases API under load

After adding in a new performance test for the Project Releases API it was found that endpoint is unperformant:

* Environment:                10k
* Environment Version:        13.8.0-pre `97951c1cd62`
* Option:                     60s_200rps
* Date:                       2021-01-21
* Run Time:                   1h 9m 41.76s (Start: 01:31:16 UTC, End: 02:40:58 UTC)
* GPT Version:                v2.5.0

NAME                                                     | RPS   | RPS RESULT           | TTFB AVG  | TTFB P90             | REQ STATUS     | RESULT
---------------------------------------------------------|-------|----------------------|-----------|----------------------|----------------|-------
api_v4_projects_releases                                 | 200/s | 119.75/s (>64.00/s)  | 1530.14ms | 2543.49ms (<4000ms)  | 100.00% (>99%) | Passed

Looking at the environment metrics it appears that the bottleneck could be GitLab Rails

Screenshot_2021-01-21_at_15.03.27

Testing was done as part of our normal performance tests on the 10k Reference Architecture at 200 RPS. In our test data (based on the main GitLab project) there are numerous releases, the same amount as the current main GitLab project.

As per our performance targets the endpoint is above our main target of 500ms and falls under the severity2 tier.

Edited Apr 30, 2021 by Grant Young
Assignee
Assign to
Time tracking