Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-5005

List userSessions in admin console is slow

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.3.0.CR1
    • Component/s: None
    • Labels:
      None
    • Docs QE Status:
      NEW
    • QE Status:
      ASSIGNED

      Description

      When you have cluster environment and 100K userSessions, then showing tab "Sessions" is a bit slow.

      There is related KEYCLOAK-3298, which fixed the bulk removal of user sessions. For view we need to:

      • Doublecheck there is not regression compared to Keycloak 3.1 (ie. all user sessions of logged users are correctly shown in realms, clients and users tabs in admin console). This needs to be done before 3.2 release
      • Doublecheck if something can be improved regarding performance of view. Like:
        • pagination of userSessions
        • Count sessions just approximately

      Also doublecheck if other usecases, which are using infinispan streams have good performance (showing user sessions of single user or clients, showing offline sessions etc)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mposolda Marek Posolda
                  Reporter:
                  mposolda Marek Posolda
                  Tester:
                  Mark True
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: