Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-18364

Slowness for non-admin users after upgrading Bamboo to 5.15 or above

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 6.0.1, 5.15.7
    • 5.15.3, 5.15.5, 6.0.0
    • None

    Description

      Summary

      Bamboo is slow for non-admin users when they try to perform certain actions such as:

      • Log in to the application.
      • Access the Bamboo dashboard (allPlans.action).
      • View personal dashboard (myBamboo.action).

      Environment

      • Bamboo 5.15 or above.
      • MySQL server (5.6.x, 5.7.x) or Oracle.
      • MySQL JDBC driver version (5.1.39, 5.1.41).

      Steps to Reproduce

      1. Install Bamboo 5.15.5.
      2. Download and install the MySQL JDBC driver.
      3. Connect Bamboo to MySQL server.
      4. Create ~6.000 plans and ~200 deployments in Bamboo.
      5. Try navigating around with 2 different users (admin vs non-admin).

      Expected Results

      Pages should load in a timely fashion for both users.

      Actual Results

      • For admin users (Global Permission) the dashboard page loads in ~2 seconds.
      • For regular users on the other end, the dashboard page took ~30 seconds to load.

      The more we add plans, the more time it takes to load the dashboard for regular users because Bamboo has to read users permissions. For admin users Bamboo runs one single validation query.

      Notes

      Bamboo MySQL vs PostgreSQL vs MSSQL testing

        MySQL * Install Bamboo 5.15.5.

      • Connect it to MySQL using the MySQL JDBC driver version 5.1.41.
      • Connect Bamboo to Crowd.
      • Create ~6.000 plans and ~200 deployments.
      • Try navigating around with 2 different users:
        • Admin user (Global Permission). The dashboard page loads in ~2 seconds.
        • Regular user. The dashboard page loads in ~30 seconds.

        PostgreSQL * Install Bamboo 5.15.5.

      • Connect it to PostgreSQL using the bundled PostgreSQL driver.
      • Connect Bamboo to Crowd.
      • Create ~6.000 plans and ~200 deployments.
      • Try navigating around with 2 different users:
        • Admin user (Global Permission). The dashboard page loads in ~2 seconds.
        • Regular user. The dashboard page loads in ~7 seconds.

        MSSQL * Install Bamboo 5.15.5.

      • Connect it to MSSQL using the bundled MSSQL driver.
      • Connect Bamboo to Crowd.
      • Create ~6.000 plans
      • Try navigating around with 2 different users:
        • Admin user (Global Permission). The dashboard page loads in ~2 seconds.
        • Regular user. The dashboard page loads in ~15 seconds.

      Attachments

        Issue Links

          Activity

            People

              pbruski Przemek Bruski
              brosa Bruno Rosa
              Votes:
              15 Vote for this issue
              Watchers:
              21 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: