Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-18660

10,000+ jobs tied to a label make Node index page unusably unresponsive

    Details

    • Similar Issues:

      Description

      When using an authorization strategy other than Unsecured or FullControlOncedoggedIn if there are 10,000+ jobs tied to labels, the tag cloud makes rendering the individual node screens seriously unresponsive as there are repeated access checks of read permission when counting the number of jobs with which to scale the tag cloud.

      It is not necessary to run the permission checks in order to return the count of jobs, and additionally it is not necessary to build a list of all jobs and then sort the list before filtering and then throwing away the list and retaining the count.

      A specialized count function with a denormalized loop should provide more usable performance... additionally it is questionable whether the tag cloud provides much utility for very large installations.

        Attachments

          Activity

          stephenconnolly Stephen Connolly created issue -
          jglick Jesse Glick made changes -
          Field Original Value New Value
          Labels performance
          jglick Jesse Glick made changes -
          Labels performance lts-candidate performance
          jglick Jesse Glick made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          olivergondza Oliver Gondža made changes -
          Labels lts-candidate performance lts-1.509.3-fixed performance
          olivergondza Oliver Gondža made changes -
          Labels lts-1.509.3-fixed performance 1.509.3-fixed performance
          stephenconnolly Stephen Connolly made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 149970 ] JNJira + In-Review [ 206769 ]

            People

            • Assignee:
              stephenconnolly Stephen Connolly
              Reporter:
              stephenconnolly Stephen Connolly
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: