Improve performance of issues action for GroupsController under load to meet the target
The TTFB P90 of Group Issues Page is over the main target of 200ms:
* Environment: 10k
* Environment Version: 14.1.0-pre `669b47122f4`
* Option: 60s_200rps
* Date: 2021-06-23
* Run Time: 1h 25m 3.31s (Start: 04:36:33 UTC, End: 06:01:36 UTC)
* GPT Version: v2.8.0
NAME | RPS | RPS RESULT | TTFB AVG | TTFB P90 | REQ STATUS | RESULT
----------------------------|-------|----------------------|-----------|-----------------------|----------------|-------
web_group_issues | 20/s | 18.86/s (>16.00/s) | 370.58ms | 466.34ms (<500ms) | 100.00% (>99%) | Passed
These were tested against gitlabhq
project. The example url of the request on Staging can be found at Current Test Details
page by the test name.
The GPT results can be found at https://gitlab.com/gitlab-org/quality/performance/-/wikis/Benchmarks/Latest/10k or GPT Test results Grafana dashboard.
As per our performance targets the controller action is above our main target of 200ms and fall under the severity4 tier. Task is to improve the actions performance to meet the target.
Steps to reproduce
- Check out the GitLab Performance Tool
- Run the specific test with the
run-k6
command. For example against the 10k environment you would run this following from the project root:./run-k6 -e environments/10k.json -o 60s_200rps.json -t web_group_issues.js
. You will need an ACCESS_TOKEN for this endpoint as well. - If you're seeking to run the test against your own environment the Tool's documentation has details on how to achieve this.