Improve performance by creating a threadlocal cache for space permission checks

XMLWordPrintable

      Use a thread-local per-request cache to cache:

      • User + permission + space = true/false at the SpacePermissionManager level
      • user has useConfluence permission at the PermissionManager level

      This should remove a significant number of duplicated permission checks per request, hopefully helping performance on systems with unusual user management setups. It's unlikely to have a gigantic effect on systems with small numbers of users/groups/spaces, though.

        1. blast-permissions.py
          1 kB
          Matt Ryall
        2. PerformanceAcceptanceTest.java
          0.9 kB
          Matt Ryall

              Assignee:
              CharlesA
              Reporter:
              CharlesA
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: