Issue Details (XML | Word | Printable)

Key: MDL-16271
Type: Improvement Improvement
Status: Open Open
Priority: Critical Critical
Assignee: Dan Marsden
Reporter: Gerd Goetschalckx
Votes: 0
Watchers: 3
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Slow loading time of SCORM package content

Created: 29/Aug/08 10:31 PM   Updated: 01/Dec/08 12:44 PM
Return to search
Component/s: Document Management, Performance, SCORM
Affects Version/s: 1.9.1, 1.9.2
Fix Version/s: 2.0

File Attachments: 1. Text File 20080910_fastFileParser.php (1 kB)
2. Text File 20080910_loadSCO.patch (1 kB)
3. Text File 20080926_fastFileParser.php (2 kB)
4. Text File 20080926_loadSCO.php (5 kB)
5. Zip Archive 20081014_VDABmoodle.zip (16 kB)
6. Zip Archive mdlPreloadTest.zip (1.71 MB)
7. Text File patch_MDL-16271.txt (2 kB)

Image Attachments:

1. MDL_16271.jpeg
(145 kB)
Environment: Any
Issue Links:
Duplicate
 

Database: Any
Participants: Dan Marsden, Gerd Goetschalckx and Petr Skoda
Security Level: None
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
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.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Dan Marsden made changes - 30/Aug/08 08:44 AM
Field Original Value New Value
Assignee Nobody [ nobody ] Dan Marsden [ danmarsden ]
Gerd Goetschalckx made changes - 05/Sep/08 05:01 PM
Attachment patch_MDL-16271.txt [ 15067 ]
Gerd Goetschalckx made changes - 08/Sep/08 04:19 PM
Attachment screenshot-1.jpg [ 15078 ]
Gerd Goetschalckx made changes - 08/Sep/08 04:19 PM
Attachment screenshot-1.jpg [ 15078 ]
Gerd Goetschalckx made changes - 08/Sep/08 04:27 PM
Attachment MDL_16271.jpeg [ 15079 ]
Petr Skoda made changes - 08/Sep/08 06:46 PM
Fix Version/s 2.0 [ 10122 ]
Gerd Goetschalckx made changes - 10/Sep/08 08:53 PM
Attachment mdlPreloadTest.zip [ 15124 ]
Attachment 20080910_loadSCO.patch [ 15126 ]
Attachment 20080910_fastFileParser.php [ 15125 ]
Gerd Goetschalckx made changes - 26/Sep/08 09:53 PM
Attachment 20080926_fastFileParser.php [ 15243 ]
Attachment 20080926_loadSCO.php [ 15244 ]
Gerd Goetschalckx made changes - 09/Oct/08 10:14 PM
Priority Minor [ 4 ] Critical [ 2 ]
Gerd Goetschalckx made changes - 14/Oct/08 11:04 PM
Attachment 20081014_VDABmoodle.zip [ 15395 ]
Dan Marsden made changes - 01/Dec/08 12:44 PM
Link This issue is duplicated by MDL-16274 [ MDL-16274 ]