Uploaded image for project: 'Confluence Server and Data Center'
  1. Confluence Server and Data Center
  2. CONFSERVER-13235

Improve performance by creating a threadlocal cache for space permission checks

    XMLWordPrintable

Details

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: