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

Performance tests: remaining tasks #1540

Open
5 of 7 tasks
Tracked by #81
elsand opened this issue Nov 29, 2024 · 0 comments
Open
5 of 7 tasks
Tracked by #81

Performance tests: remaining tasks #1540

elsand opened this issue Nov 29, 2024 · 0 comments
Assignees

Comments

@elsand
Copy link
Collaborator

elsand commented Nov 29, 2024

Tasks

Preview Give feedback
  1. knuhau oskogstad

Establish stable and performant test runners for GitHub test workflows

In order to yield reproducible and realistic results, we need to have separate runners for the GitHub test workflows to execute, as the free ones supplied by GitHub offer low and very variable performance. Coordinate with team platform.

Establish performance thresholds

We want to be able to track performance regressions, so we need to establish threshold values (eg. P95 RPS values) for the various tests, which will fail the tests if below that threshold.

Define tests and establish workflows for tests

When thresholds are found, we need to create workflows that 1) run one or several performance tests with a particular configuration (duration, VUs etc) 2) parse the results 3) compare the results with defined threshold values and mark the test as either passed or failed

Populate YT01 with data

In order to have a realistic foundation on which the SUT to run, we need to populate the database with a non-trivial amount of data. For now, this is a one-time job.

Enable auto_growth of storage in PostgreSQL

Should be defined in IAC, and if needed clickopsed for existing PostgreSQL instances

Enable sufficient performance tier (max IOPS)

Should be defined in IAC, and if needed clickopsed for existing PostgreSQL instances

Click-ops max_connections to reset to SKU default for all environments

Should be defined in IAC, and if needed clickopsed for existing PostgreSQL instances

@elsand elsand moved this from New issues to Ready in Dialogporten / Arbeidsflate Nov 29, 2024
@elsand elsand moved this from Ready to Doing in Dialogporten / Arbeidsflate Nov 29, 2024
arealmaas added a commit that referenced this issue Dec 12, 2024
<!--- Provide a general summary of your changes in the Title above -->
Add performance tests and run these tests in ci-cd-yt01 workflow
## Description

<!--- Describe your changes in detail -->

## Related Issue(s)
#1540 
- #{issue number}

## Verification

- [ ] **Your** code builds clean without any errors or warnings
- [x] Manual testing done (required)
- [ ] Relevant automated test added (if you find this hard, leave it and
we'll help out)

## Documentation

- [ ] Documentation is updated (either in `docs`-directory, Altinnpedia
or a separate linked PR in
[altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if
applicable)

---------

Co-authored-by: Are Almaas <arealmaas@gmail.com>
arealmaas added a commit that referenced this issue Dec 12, 2024
<!--- Provide a general summary of your changes in the Title above -->

## Description

<!--- Describe your changes in detail -->

## Related Issue(s)

- #1540

## Verification

- [ ] **Your** code builds clean without any errors or warnings
- [ ] Manual testing done (required)
- [ ] Relevant automated test added (if you find this hard, leave it and
we'll help out)

## Documentation

- [ ] Documentation is updated (either in `docs`-directory, Altinnpedia
or a separate linked PR in
[altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if
applicable)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Doing
Development

No branches or pull requests

3 participants