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

Edge Index Plugin appears to be causing some slow performance.

      Creating and saving a page with the Edge Index Plugin enabled can take around 1 second or more. Disabling this plugin appears to increase performance, and Performance Profiling logs support this, in that some behaviour which happens with the plugin is enabled does not appear to happen when it is disabled.

      This is the profiling with the plugin enabled:

      2012-09-19 14:48:23,950 DEBUG [http-10430-6] [atlassian.util.profiling.UtilTimerStack] log [724ms] - /pages/docreatepage.action
        [0ms] - UserAccessor.getUser()
        [0ms] - UserAccessor.getUser()
        [722ms] - XW Interceptor: Before defaultStack: /pages/docreatepage.action (CreatePageAction.doAdd())
          [1ms] - DraftManager.getDraft()
          [1ms] - UserAccessor.getUser()
          [0ms] - UserAccessor.getPropertySet()
          [0ms] - SpaceAwareInterceptor.intercept()
          [6ms] - PageAwareInterceptor.intercept()
            [5ms] - PageManager.getPage()
            [0ms] - SpaceManager.getSpace()
            [1ms] - PermissionManager.hasPermission()
              [0ms] - UserAccessor.hasMembership()
          [0ms] - CommentAwareInterceptor.intercept()
          [0ms] - UserAwareInterceptor.intercept()
          [0ms] - BootstrapAwareInterceptor.intercept()
          [0ms] - SpaceManager.getSpace()
          [0ms] - UserAccessor.getUser()
          [0ms] - UserAccessor.getConfluenceUserPreferences()
          [0ms] - PermissionManager.hasCreatePermission()
          [0ms] - SpaceManager.getSpace()
          [672ms] - XW Interceptor: After defaultStack: /pages/docreatepage.action (CreatePageAction.doAdd())
            [2ms] - PageManager.getPage()
            [628ms] - XW Interceptor: After validatingStack: /pages/docreatepage.action (CreatePageAction.doAdd())
              [0ms] - PageTemplateManager.getGlobalPageTemplates()
              [9ms] - ContentEntityManager.saveContentEntity()
                [4ms] - LinkManager.updateOutgoingLinks()
              [0ms] - UserAccessor.getUser()
              [339ms] - com.atlassian.bonnie.LoggingReentrantLock.indexWriteLock
                [3ms] - com.atlassian.bonnie.LoggingReentrantLock.searcherRefreshLock
              [0ms] - UserAccessor.getUser()
              [0ms] - UserAccessor.getPropertySet()
              [0ms] - UserAccessor.getUserProfilePicture()
              [0ms] - UserAccessor.getUserProfilePicture()
              [2ms] - NotificationManager.getNotificationsBySpaceAndType()
              [1ms] - NotificationManager.getNotificationsByPage()
              [17ms] - NotificationManager.findNotificationsByFollowing()
              [144ms] - NotificationManager.addPageNotification()
              [0ms] - DraftManager.getDraft()
              [13ms] - DraftManager.removeDraft()
      

      This is the profiling with the plugin disabled:

      2012-09-19 17:12:57,717 DEBUG [http-10430-3] [atlassian.util.profiling.UtilTimerStack] log [99ms] - /pages/docreatepage.action
        [0ms] - UserAccessor.getUser()
        [0ms] - UserAccessor.getUser()
        [98ms] - XW Interceptor: Before defaultStack: /pages/docreatepage.action (CreatePageAction.doAdd())
          [0ms] - DraftManager.getDraft()
          [0ms] - UserAccessor.getUser()
          [0ms] - UserAccessor.getPropertySet()
          [0ms] - SpaceAwareInterceptor.intercept()
          [2ms] - PageAwareInterceptor.intercept()
            [2ms] - PageManager.getPage()
            [0ms] - SpaceManager.getSpace()
            [0ms] - PermissionManager.hasPermission()
              [0ms] - UserAccessor.hasMembership()
          [0ms] - CommentAwareInterceptor.intercept()
          [0ms] - UserAwareInterceptor.intercept()
          [0ms] - BootstrapAwareInterceptor.intercept()
          [0ms] - SpaceManager.getSpace()
          [0ms] - UserAccessor.getUser()
          [0ms] - UserAccessor.getConfluenceUserPreferences()
          [0ms] - PermissionManager.hasCreatePermission()
          [0ms] - SpaceManager.getSpace()
          [92ms] - XW Interceptor: After defaultStack: /pages/docreatepage.action (CreatePageAction.doAdd())
            [2ms] - PageManager.getPage()
            [87ms] - XW Interceptor: After validatingStack: /pages/docreatepage.action (CreatePageAction.doAdd())
              [0ms] - PageTemplateManager.getGlobalPageTemplates()
              [3ms] - ContentEntityManager.saveContentEntity()
                [1ms] - LinkManager.updateOutgoingLinks()
              [0ms] - UserAccessor.getUser()
              [0ms] - UserAccessor.getPropertySet()
              [0ms] - UserAccessor.getUserProfilePicture()
              [0ms] - UserAccessor.getUserProfilePicture()
              [0ms] - NotificationManager.getNotificationsBySpaceAndType()
              [1ms] - NotificationManager.getNotificationsByPage()
              [0ms] - NotificationManager.findNotificationsByFollowing()
              [72ms] - NotificationManager.addPageNotification()
              [0ms] - DraftManager.getDraft()
              [5ms] - DraftManager.removeDraft()
      

      As you can see this is a performance improvement from 724ms to 99ms.

          Form Name

            [CONFSERVER-26663] Edge Index Plugin appears to be causing some slow performance.

            Atlassian Update - 27 March 2025

            Hi,

            At Atlassian, our goal is to ensure we’re providing the best experience for our customers. With our new Data Center strategy, Atlassian's focus is on security, compliance, and performance and is a key driver in prioritizing bugs. Closing the bugs that do not fall into those categories will allow us to focus on the ones in the most current versions of our products.

            This bug is being closed due to a lack of engagement in the last four years, including no new watchers, votes, or comments; this inactivity suggests a low impact.

            Please note the comments on this thread are not being monitored.

            You can read more about our bug fix policy here and how we prioritize bugs.

            To learn more about our recent investments in Confluence Data Center, please check our public roadmap and dashboards containing recently resolved issues, current work, and future plans.

            Kind regards,
            Confluence Data Center

            George Varghese added a comment - Atlassian Update - 27 March 2025 Hi, At Atlassian, our goal is to ensure we’re providing the best experience for our customers. With our new Data Center strategy, Atlassian's focus is on security, compliance, and performance and is a key driver in prioritizing bugs. Closing the bugs that do not fall into those categories will allow us to focus on the ones in the most current versions of our products. This bug is being closed due to a lack of engagement in the last four years , including no new watchers, votes, or comments; this inactivity suggests a low impact. Please note the comments on this thread are not being monitored. You can read more about our bug fix policy here and how we prioritize bugs. To learn more about our recent investments in Confluence Data Center, please check our public roadmap and dashboards containing recently resolved issues , current work, and future plans . Kind regards, Confluence Data Center

            The plugin doesn't seem to be using index queue and updates its index synchronously?

            Sergey Svishchev added a comment - The plugin doesn't seem to be using index queue and updates its index synchronously?

              Unassigned Unassigned
              dunterwurzacher Denise Unterwurzacher [Atlassian] (Inactive)
              Affected customers:
              6 This affects my team
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: