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

Add the option to switch the serializer to igbinary in Redis session handler

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Install phpredis with --enable-redis-igbinary like the one from Dotdep
      Install the PHP igbinary module.
      Go to config.php and set $CFG->session_redis_serializer_use_igbinary = true;
      If the phpredis module is compiled against igbinary igbinary should be used for serializing.
      Perform some exploratory testing.

      Note: Do a Redis database flush/restart (or change the prefix) before switching the serializer.

      Show
      Install phpredis with --enable-redis-igbinary like the one from Dotdep Install the PHP igbinary module. Go to config.php and set $CFG->session_redis_serializer_use_igbinary = true; If the phpredis module is compiled against igbinary igbinary should be used for serializing. Perform some exploratory testing. Note: Do a Redis database flush/restart (or change the prefix) before switching the serializer.
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-57655-master

      Description

      Hi,

      As part of our migration to Moodle 3.2 we also switched our caching backend from memcached to Redis.
      Since phpredis also supports the use of the igbinary serializer I think this should be configurable for the Moodle Redis session handler implementation.
      see MDL-57572

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  15/May/17