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

Role Strategy 2.3 cause poor UI performance due to authorities checks (regression in 2.3.0)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: role-strategy-plugin
    • Labels:
    • Environment:
      Centos 7.2, OpenJDK 1.8.0.91, Jenkins 2.8, Active Directory plugin 1.47, Role Strategy 2.3
    • Similar Issues:

      Description

      Hello, we recently updated the Role Strategy plugin to 2.3 and after the restart Jenkins UI performance became extremely slow. We isolated the issue to using Active Directory groups in our roles, when we switched to explicitly using users the issue went away.

      When we downgraded the version of Role Strategy to 2.2 the issue also went way.

        Attachments

          Issue Links

            Activity

            Hide
            andreasmandel Andreas Mandel added a comment -

            I want to mention that I still see a performance drop in using 2.2.0 vs 2.3.2 with default settings. It is about 7 seconds load time vs. 3 seconds!

            My setup has ~1000 Jobs, defining ~ 70 project roles linked mostly 1:1 to LDAP_GROUPS.

            Show
            andreasmandel Andreas Mandel added a comment - I want to mention that I still see a performance drop in using 2.2.0 vs 2.3.2 with default settings. It is about 7 seconds load time vs. 3 seconds! My setup has ~1000 Jobs, defining ~ 70 project roles linked mostly 1:1 to LDAP_GROUPS.
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Yep, 2.3.2 should just restore 2.2.0 performance for all cases by default.
            It does not mean that I'm happy about 2.2.0 performance

            Show
            oleg_nenashev Oleg Nenashev added a comment - Yep, 2.3.2 should just restore 2.2.0 performance for all cases by default. It does not mean that I'm happy about 2.2.0 performance
            Hide
            mwebber Matthew Webber added a comment -

            I can now install 2.3.2 from the mirrors, and it seems to have improved the WebUI performance (we are using CAS authentication).

            Thanks for the very quick response!

            Show
            mwebber Matthew Webber added a comment - I can now install 2.3.2 from the mirrors, and it seems to have improved the WebUI performance (we are using CAS authentication). Thanks for the very quick response!
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Matthew Webber
            It takes some time to propagate changes in OSS update centers to all mirrors.
            But the release is in place: http://updates.jenkins-ci.org/download/plugins/role-strategy/2.3.2/role-strategy.hpi

            Regarding CAS it may be also a case. Caching approach in 2.3.0 is not perfect, first load always causes a delay

            Show
            oleg_nenashev Oleg Nenashev added a comment - Matthew Webber It takes some time to propagate changes in OSS update centers to all mirrors. But the release is in place: http://updates.jenkins-ci.org/download/plugins/role-strategy/2.3.2/role-strategy.hpi Regarding CAS it may be also a case. Caching approach in 2.3.0 is not perfect, first load always causes a delay
            Hide
            mwebber Matthew Webber added a comment -

            We have also had performance problems with Jenkins' WebUI recently, and I wonder if it could be this problem. We don't use AD, but we do use CAS for authentication. Can the performance regression also occur there?

            Show
            mwebber Matthew Webber added a comment - We have also had performance problems with Jenkins' WebUI recently, and I wonder if it could be this problem. We don't use AD, but we do use CAS for authentication. Can the performance regression also occur there?

              People

              • Assignee:
                oleg_nenashev Oleg Nenashev
                Reporter:
                reillyprocentive Reilly Brogan
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: