Repository navigation
Performance evaluation of Persistent User Sessions feature #37258
Closed
OS-joaomatos
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Description
We have enabled Persistent user sessions feature on keycloak 25 and we have seen big impact on performance.
Our test involves scaling up to 2000 VUs, each one performs either a full lgoin flow or refreshes the token (80% refresh tokens + 20% full login flows).
We are observing the database increasing a lot the commit time for the write process (compreenshible considerable that the full processing is on the db with PUS enabled).
Discussion
No response
Motivation
Getting a to higher concurrent authentication sessions per second rate.
Details
Below are the details of our infrastructure and test scenario.
Infrastructure
keycloak Database - Aurora Standard
Test scenario
Each second introduce new user and get access token or full login flow
Repeat the process for 25 min
Test ### Configuration
Tool - k6 running over an aks cluster with 10 pods of 200 VUs each
Duration - 25 min
Observation
Persistent user sessions enabled on the left

All reactions