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

    • MOODLE_30_STABLE, MOODLE_31_STABLE
    • MOODLE_30_STABLE, MOODLE_31_STABLE
    • 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 .

    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

              bushido Mark Nielsen
              bushido Mark Nielsen
              cameron1729 cameron1729
              David Monllaó David Monllaó
              Jun Pataleta Jun Pataleta
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
              Votes:
              5 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Nov/16