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

Sessions: Add support for Redis as a session_class_handler (take 2) (backport of MDL-54606)

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Unsure for backports. There are unit tests if you define this in your config file:

      define('TEST_SESSION_REDIS_HOST', '127.0.0.1'); 
      

      Can also look at the testing instructions in MDL-54606 .

      Show
      Unsure for backports. There are unit tests if you define this in your config file: define('TEST_SESSION_REDIS_HOST', '127.0.0.1'); Can also look at the testing instructions in MDL-54606 .
    • Affected Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE
    • Pull from Repository:

      Description

      Redis is a much better technology when it comes to replication, scaling and failover when compared to current built in options.

      In addition, memcache is not PHP7 compatible making it a barrier to upgrade to PHP7 for large sites. Since PHP7 support was added in Moodle 3.0.1 (I think) then I think that 3.0 should be considered for the backport.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                5 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

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