Architecting Moodle's Universal Cache (MUC) for Scalability
Learn how to architect Moodle's Universal Cache (MUC) to prevent database bottlenecks, avoid data inconsistency in multi-node clusters, and secure your cache boundaries.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to architect Moodle's Universal Cache (MUC) to prevent database bottlenecks, avoid data inconsistency in multi-node clusters, and secure your cache boundaries.
On multi-node Moodle, every web server rebuilds the same caches on local disk. Pointing MUC's application store at Redis shares that work — here's the config, the mapping strategy, and the eviction-policy traps.
Socket.IO Rooms let you group sockets server-side and broadcast with io.to(room).emit(). They work out of the box but are in-memory per process, so scaling across instances requires an adapter like Redis. This covers joining, broadcasting, scaling, and verification.
Stop guessing why your background jobs are failing. Learn how to use Laravel Horizon to monitor Redis queues, debug failed jobs, and manage worker scaling.
When AdonisJS auth keeps failing after login, the culprit is often a mis‑configured session driver. This guide walks through symptoms, root causes, ordered checks, fixes, and escalation steps to get your auth working again.
Learn how Moleculer’s declarative caching works, how to wire it up with Redis, and what trade‑offs you need to consider. A step‑by‑step example shows caching a timestamp action and invalidation via events.
A technical decision guide for selecting the right Moleculer transporter. Compare NATS, Redis, JetStream, and AMQP based on durability, latency, and operational cost.
Set up Laravel’s Redis queue driver for high‑throughput background jobs, from configuration to worker management and Horizon monitoring. Verify job flow, retries, and recovery options in a production‑ready guide.
Learn how Redis Streams and consumer groups can turn a simple key‑value store into a scalable, fault‑tolerant ingestion pipeline for real‑time analytics. See a concrete example, key trade‑offs, and actionable steps to get started.