Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-41174

Incredibly slow load when accessing T&Q if there are assessments using question pools

    Details

    • 19 status:
      Resolved
    • Test Plan:
      Hide

      We need more info, but it's something like:

      1. Create question pools and questions.
      2. Create assessments that use them randomly.
      3. Access Samigo as instructor and check it loads quickly.

      To test this properly we'd need lots of assessments and lots of questions. Having the Rubrics tool explicitly added is not necessary, it seems.

      Show
      We need more info, but it's something like: Create question pools and questions. Create assessments that use them randomly. Access Samigo as instructor and check it loads quickly. To test this properly we'd need lots of assessments and lots of questions. Having the Rubrics tool explicitly added is not necessary, it seems.

      Description

      We're getting this painful performance issue on some sites that were migrated from previous versions. One environment is a 19x and the other is a 12x with the JPA changes (for using rubrics). The T&Qs tool takes some minutes to load.

      UPDATE:

      This is caused by the Rubrics icon logic, which tries to check every question for every assessment (which then is made worse with assessments using question pools). Thousands and even millions of calls are made on some sites.

      The tool loads extremely slow for instructors (not students) and it definitely seems related with question pools, Rubrics and JPA.

      SOLUTION:

      We're going to remove the Rubrics icon from the index screen to solve this issue. It will still appear in the inner grading/question screens. We believe that icon wasn't really necessary on the first screen, but anybody can open a discussion, as it could be handled on a different way.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bergarvi Bernardo Garcia Vila
                  Reporter:
                  bergarvi Bernardo Garcia Vila
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code