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

Slow loading time of SCORM package content

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: 1.9.1, 1.9.2
    • Fix Version/s: 2.0
    • Component/s: Performance, SCORM
    • Labels:
      None
    • Environment:
      Any
    • Database:
      Any
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      It takes minimum 1 second to load a file from the content of a SCORM package. Like this, if a SCO contains a html file with 60 small images, it would take at least 60 seconds to load the page. 60 seconds is generaly unacceptable for loading a single web page.

      The reason why a SCORM package content file takes at least a second of processing at 100% server cpu load: The file.php script used for getting files from the Moodle data directory to the user is a script including a collection of scripts with together thousands of lines of code.

      Possible solution: A SCORM package file parser script faster than file.php, added to the SCORM module especially for loading SCORM files. VDAB ( http://vdab.be ) is working on this solution.

        Gliffy Diagrams

          Attachments

          1. 20080910_fastFileParser.php
            1 kB
          2. 20080910_loadSCO.patch
            1 kB
          3. 20080926_fastFileParser.php
            2 kB
          4. 20080926_loadSCO.php
            5 kB
          5. 20081014_VDABmoodle.zip
            16 kB
          6. MDL_16271.jpeg
            MDL_16271.jpeg
            145 kB
          7. mdlPreloadTest.zip
            1.71 MB
          8. patch_MDL-16271.txt
            2 kB

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    24/Nov/10