Moodle
  1. Moodle
  2. MDL-16271

Slow loading time of SCORM package content

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Critical 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
    • Rank:
      34889

      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.

      1. 20080910_fastFileParser.php
        1 kB
        Gerd Goetschalckx
      2. 20080910_loadSCO.patch
        1 kB
        Gerd Goetschalckx
      3. 20080926_fastFileParser.php
        2 kB
        Gerd Goetschalckx
      4. 20080926_loadSCO.php
        5 kB
        Gerd Goetschalckx
      5. patch_MDL-16271.txt
        2 kB
        Gerd Goetschalckx
      1. MDL_16271.jpeg
        145 kB

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: