Repository navigation
Conversation
|
@y-tabata I also think the moment requires being a bit conservative and hold drastic changes for later once we discuss the overall design on how we store and manage sessions. So, back to your proposal:
|
|
Just wanted to link this to the PR 7722 KEYCLOAK-11019 Initial support for lazy offline user-session loading which is currently WIP. |
|
Closing this PR as outdated. The PR would have to contain description of the approach to be mergeable. The keycloak/keycloak#8033 (based on keycloak/keycloak#7722) has implemented lazy offline session loading and for this PR to be mergeable, it would need to be aligned with the code PR. If desired, feel free to reopen this PR with the details describing the implementation. |
This PR is for KEYCLOAK-11019 Offline sessions preloading still slow in some cases.
In a large number of Offline Sessions environments, we can shorten the startup time by tuning some parameters or adding indexes, but there is a limit we can shorten.
In this PR, we'd like to consider resolving the root cause, that is, consider changing the offline session loading method from preloading all offline sessions in the startup, and consider something like "Offline Session Lazy Loading".