Building Low-Latency Leaderboards with Redis Sorted Sets
Stop running expensive COUNT queries for your leaderboards. Learn how to use Redis Sorted Sets to maintain real-time rankings with O(log N) complexity.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Stop running expensive COUNT queries for your leaderboards. Learn how to use Redis Sorted Sets to maintain real-time rankings with O(log N) complexity.
Learn how to implement Redis Pub/Sub for real-time signaling. This guide covers the architecture for transient messaging, ACL security boundaries, and when to switch to Redis Streams for durability.
Learn how Redis Lua scripts let you perform multi‑key operations atomically, with a step‑by‑step example, trade‑offs, and real‑world tips for developers. Avoid race conditions, reduce latency, and keep memory in check.
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.