Moodle Redis session handler setup
Moving Moodle sessions to Redis: the session_redis settings, multiple hosts and TLS, lock timeouts and warnings, serializer and compression options, and read-only sessions for pages that do not need a lock.

Specific techniques for running Moodle at scale: clustering, sessions, caches, database replicas, file serving and preparing for peak load.
Moving Moodle sessions to Redis: the session_redis settings, multiple hosts and TLS, lock timeouts and warnings, serializer and compression options, and read-only sessions for pages that do not need a lock.
Mapping Moodle cache definitions to stores: application, session and request modes, APCu for hot local data, Redis as the shared store, file caches for large items and testing the mapping under load.
Offloading reads to PostgreSQL or MySQL replicas: the readonly dboptions, replication latency settings, excluding tables, and what read replicas do and do not fix for a slow Moodle.
Which Moodle directories must be shared across web nodes and which should stay local: dataroot, tempdir, cachedir, backuptempdir, localcachedir and localrequestdir, plus storage choices for each.
Configuring Moodle behind a load balancer or TLS terminator: when to set sslproxy and reverseproxy, session stickiness versus shared sessions, health checks and client IP forwarding for logs and IP-restricted quizzes.
Letting Nginx or Apache serve Moodle files directly: the xsendfile setting and aliases for dataroot, cache and temp directories, and the load it removes from PHP workers.
Getting a Moodle site through hundreds or thousands of simultaneous quiz starts: load testing, session and cache configuration, pausing heavy scheduled tasks, database headroom and a runbook for exam day.
Finding the cause of slow pages: the profiling admin tool, performance report, slow query logging, session lock warnings and turning findings into configuration or code fixes.
Picking file, database record, MySQL or PostgreSQL advisory locks for Moodle cron and tasks in a cluster, and the NFS and SQL Server cases where the default is a poor fit.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.