Cutting Database Load in Moleculer with Redis Action Caching
Learn how to add Redis-backed action caching to Moleculer microservices, reduce database load, and handle staleness and Redis outages without guesswork.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to add Redis-backed action caching to Moleculer microservices, reduce database load, and handle staleness and Redis outages without guesswork.
Redis Streams let you build a durable, parallel‑safe event pipeline. This blog walks through producing, consuming, and trimming streams, highlights memory and consumer‑group trade‑offs, and gives a clear call‑to‑action for prototyping in your own projects.
Learn how to set up a Redis Streams consumer group, acknowledge messages, and avoid common pitfalls that cause memory growth or missed processing.
An architecture note for Magento 2's Full-Page Cache: the minimal Varnish + Redis session design, trust boundaries that prevent leaking private content, operational checks, failure modes, and when to redesign.
A technical guide for choosing between Redis RDB snapshots and AOF logging, comparing durability, recovery speed, and performance impact for engineering decisions.
A decision guide for scaling Socket.IO beyond a single Node.js process: compare in-memory, sticky sessions, and the Redis adapter with a concrete two-node validation test.
Learn how to diagnose and fix the 'OOM command not allowed' error in Redis by analyzing memory policies, fragmentation, and maxmemory configurations.
Learn how the start ID in XGROUP CREATE decides whether a Redis Streams consumer group replays history or processes only new messages, with a concrete example and verification steps.
Use Redis TTL (EX/PX) together with a volatile eviction policy to automatically expire stale cache entries and keep memory usage predictable.