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

Performance improvement: Lazy evaluation of Velocity context

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

      One of the most significant items in the profiled performance builds is in the ConfluenceVelocityManager.addContainerContexts(...) method - specifically in the calls into Spring.

      In some of the profiles it takes 6% of runnable time and 13% of blocked time.

      As a lot of these container contexts are not required, lazily requesting them when actually required should significantly reduce pressure on Spring.

        1. CONF-20264.patch
          33 kB
          Jed Wesley-Smith
        2. CONF-20264-tests.patch
          5 kB
          Jed Wesley-Smith
        3. ContextUtils.java.patch
          6 kB
          Jed Wesley-Smith

            [CONFSERVER-20264] Performance improvement: Lazy evaluation of Velocity context

            Sen Geronimo made changes -
            Workflow Original: JAC Suggestion Workflow 4 [ 3568523 ] New: JAC Suggestion Workflow 3 [ 4324205 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow 2 [ 3179152 ] New: JAC Suggestion Workflow 4 [ 3568523 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3038462 ] New: JAC Suggestion Workflow 2 [ 3179152 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing v4 [ 2535940 ] New: JAC Suggestion Workflow [ 3038462 ]
            Rachel Lin (Inactive) made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 [ 2299219 ] New: Confluence Workflow - Public Facing v4 [ 2535940 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 - TEMP [ 2195392 ] New: Confluence Workflow - Public Facing v3 [ 2299219 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 [ 1940256 ] New: Confluence Workflow - Public Facing v3 - TEMP [ 2195392 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v2 [ 1759975 ] New: Confluence Workflow - Public Facing v3 [ 1940256 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Suggestion WF (TEMP) [ 1698095 ] New: Confluence Workflow - Public Facing v2 [ 1759975 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing [ 1369460 ] New: CONF Suggestion WF (TEMP) [ 1698095 ]

              don.willis@atlassian.com Don Willis
              jed Jed Wesley-Smith (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: