Skip to content

Ensure Ferrum could Handle 10K users with N users works simulteniously #92

@EvilLord666

Description

@EvilLord666

We should Create scenarios to test performance of Ferrum Authorization Server as follows:

  1. 10K users in Redis separated:
    • by 100 users in 100 Realm
    • by 1K users in 10 Realms

Scenarios will be developed with K6S and include:

  1. Issue new token
  2. After 1-2 s call UserInfo endpoint 5 times with interval 1-2 second each
  3. Call Token Introspect (optionally)
  4. Wait 60-120 s and do the same in 2
  5. Refresh access token
  6. Repeat 2-4 3times

Scenario Must start with gradual user increase starting from 10users up to 10K

Tasks:

  • create script with required amount of users (will be generated with python automation script)
  • create K6S script with upper described test scenario
    • smoke test with small amount of users (~10 users on 1 min)
    • average load (~500 users on 15m)
    • stress test (~10K users on 30m)
  • collect all errors and fix the issues
  • ensure that p95 < 200ms

Metadata

Metadata

Assignees

Labels

performancePerformance raise issues

Type

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions