Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-75227

BigBlueButton activities causes course page load times to increase linearly

    XMLWordPrintable

Details

    Description

      Adding BigBlueButton instances to a course causes the time for the course to load to scale linearly after upgrade from 3.5+.

      History: We recently upgraded to Moodle 4.01 from Moodle 3.5+, using 3.8 as an intermediary step. Upon completing the upgrade, we have found that courses containing BigBlueButton instances now take inordinately long times to load. It is common practice for instructors to add a single BBB instance for each online class, so classes often reach 36-38 instances of the BBB activity within the course flow. We thought it might have something to do with the Collapsed Topic course format, but the results can be duplicated on the default topic course format. We also tested to see if it was a theme issue; it appears to be independent of theme setting.

      We've checked the BBB plugin version, and it is listed as 2022041901.

      Method for reproduction:

      1. Create a Course
      2. Add a BBB activity instance; name it Test1
      3. Return to course homepage (save and return to course)
      4. Refresh the page; record response time
      5. Continue adding BBB activity instances

      Results: Our testing suggests that each additional BBB instance causes view.php (not including any cached or non-cached resources) to respond 600-800 ms slower. 

      (see attached for screenshots)

      Blank class: 227 ms
      1 BBB activity: 1020 ms
      2 BBB activities: 1650 ms
      3 BBB activities: 2380 ms
      4 BBB activities: 3110 ms
      5 BBB activities: 3800 ms

      ...

      Production course, with 36 activites: 27060 ms

      Attachments

        1. BBBactivity_moodleLoadTimes.docx
          470 kB
          Adam Schuldt
        2. bigbluebuttonbn_schemas.png
          602 kB
          Adam Schuldt
        3. BigBlueButtonTest_ATP.mbz
          10 kB
          Adam Schuldt
        4. sql_errorsandwarnings.png
          98 kB
          Adam Schuldt

        Issue Links

          Activity

            People

              lmdavid Laurent DAVID
              adam_atp Adam Schuldt
              Shamiso Jaravaza Shamiso Jaravaza
              Jun Pataleta Jun Pataleta
              CiBoT CiBoT
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 50 minutes
                  50m

                  Clockify

                    Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.