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

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 3.1.0
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: