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

Improve performance by creating a threadlocal cache for space permission checks

    • 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.

      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.

            [CONFSERVER-13235] Improve performance by creating a threadlocal cache for space permission checks

            Sen Geronimo made changes -
            Workflow Original: JAC Suggestion Workflow 4 [ 3569221 ] New: JAC Suggestion Workflow 3 [ 4329791 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow 2 [ 3179051 ] New: JAC Suggestion Workflow 4 [ 3569221 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3038321 ] New: JAC Suggestion Workflow 2 [ 3179051 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing v4 [ 2535636 ] New: JAC Suggestion Workflow [ 3038321 ]
            Rachel Lin (Inactive) made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 [ 2298538 ] New: Confluence Workflow - Public Facing v4 [ 2535636 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 - TEMP [ 2194535 ] New: Confluence Workflow - Public Facing v3 [ 2298538 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 [ 1940711 ] New: Confluence Workflow - Public Facing v3 - TEMP [ 2194535 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v2 [ 1760264 ] New: Confluence Workflow - Public Facing v3 [ 1940711 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Suggestion WF (TEMP) [ 1698596 ] New: Confluence Workflow - Public Facing v2 [ 1760264 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing [ 1369907 ] New: CONF Suggestion WF (TEMP) [ 1698596 ]

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

                Created:
                Updated:
                Resolved: