-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
4.0
-
MOODLE_400_STABLE
-
Moderate
This is a more aggressive performance optimization similar to MDL-69707.
By storing each session as a redis hash we can track which attributes inside the session object have changed or been removed, and when we write close the session we can only set the parts which have changed.
Almost all session mutations are fairly simple, a ball park might be 1-5% of the session size, we might save around 90% of write traffic, or 45% of redis session IO overall.
- has a non-specific relationship to
-
MDL-69121 Allow redis session store to use zip or zStd for compression like redis MUC
- Closed
-
MDL-69707 Redis session handler should not write the session if it has not changed
- Closed
- is blocked by
-
MDL-66151 Performance: Allow session stores to fully manage the session
- Closed
- will be (partly) resolved by
-
MDL-68608 Improve the readonly session debugging message
- Closed