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

      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

        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

            Gerd Goetschalckx created issue -
            Dan Marsden made changes -
            Field Original Value New Value
            Assignee Nobody [ nobody ] Dan Marsden [ danmarsden ]
            Gerd Goetschalckx made changes -
            Attachment patch_MDL-16271.txt [ 15067 ]
            Gerd Goetschalckx made changes -
            Attachment screenshot-1.jpg [ 15078 ]
            Gerd Goetschalckx made changes -
            Attachment screenshot-1.jpg [ 15078 ]
            Gerd Goetschalckx made changes -
            Attachment MDL_16271.jpeg [ 15079 ]
            Petr Skoda made changes -
            Fix Version/s 2.0 [ 10122 ]
            Gerd Goetschalckx made changes -
            Attachment mdlPreloadTest.zip [ 15124 ]
            Attachment 20080910_fastFileParser.php [ 15125 ]
            Attachment 20080910_loadSCO.patch [ 15126 ]
            Gerd Goetschalckx made changes -
            Attachment 20080926_fastFileParser.php [ 15243 ]
            Attachment 20080926_loadSCO.php [ 15244 ]
            Gerd Goetschalckx made changes -
            Priority Minor [ 4 ] Critical [ 2 ]
            Gerd Goetschalckx made changes -
            Attachment 20081014_VDABmoodle.zip [ 15395 ]
            Dan Marsden made changes -
            Link This issue is duplicated by MDL-16274 [ MDL-16274 ]
            Dan Marsden made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Won't Fix [ 2 ]
            Helen Foster made changes -
            Component/s Document Management [ 10081 ]
            Martin Dougiamas made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            Martin Dougiamas made changes -
            Workflow jira [ 28193 ] MDL Workflow [ 60727 ]
            Martin Dougiamas made changes -
            Workflow MDL Workflow [ 60727 ] MDL Full Workflow [ 89902 ]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: