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
No commits have yet been performed on this issue.