Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-50645

Cache the list of available callbacks per plugin

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.0
    • Component/s: Caching
    • Testing Instructions:
      Hide
      1. Check my profile, all links to reports should be there
      2. Check your dashboard, it should display all modules info in the central course overview block
      3. Check that you can upload files to a course using drag and drop
      4. Run cron, ensure that everything finishes as expected and functions implementing cron functions in their lib.php are being executed
      Show
      Check my profile, all links to reports should be there Check your dashboard, it should display all modules info in the central course overview block Check that you can upload files to a course using drag and drop Run cron, ensure that everything finishes as expected and functions implementing cron functions in their lib.php are being executed
    • Affected Branches:
      MOODLE_30_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-50645_master
    • Sprint:
      Team '; drop tables Sprint 9

      Description

      Trying to implement MDL-50125 we found performance problems and we looked at possible solutions in MDL-50126.

      Caching plugins callbacks list at application level reduced the memory usage by around a 10% in user profile pages (not exact data, but 10% including MDL-50125 fix, so probably even more) although the new cache memory overhead, basically because the number of files included is reduced to half.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  16/Nov/15