Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Component/s: download.moodle.org
-
Labels:None
Description
Some minor tasks can improve throughput of download.moodle.org:
1) Create better indexes (by url and time). Done!
2) Move old records from the downloads table to a new downloads_history table (older than 2 months).
3) Fetch download stats from the downloads_history table
4) Cache counters somewhere (with a configurable timeout, say 1 min).
Just with 1) we have get a BIG gain in throughput, with 2, 3 & 4, server should be practically instant.
Issue Links
| This issue has been marked as being related by: | ||||
| MDLSITE-252 | After 1.9 branch... request sourceforge to delete all the empty dirs below the old moodle/moodle/lang directory... |
|
|
|
Just one doubt:
the 2 months grace period before being moved to downloads_history is for...? Just asking in case the plan is to continue generating monthly stats from the downloads table, instead of the downloads_history table as proposed by 3)
Ciao