Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-672

Session login takes too long and invokes a search

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: None
    • Labels:
    • Similar issues:

      Description

      In general, I am under the impression that creating a new jcr session takes too long. From the HST it takes about 25 ms. For security delegate sessions it takes on average about 50 ms.

      Apart from this, a jcr session login results in a search through AbstractGroupManager#getMembershipIds(String userId)

      This seems needless expensive to me (although most of the time a query is fast, it is blocking). Just cache the memberships for a userId imo, and flush the cache on changes in the security domains

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                aschrijvers Ard Schrijvers
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: