Redis Build fast, scalable applications with Redis as a cache, message broker, session store, or real-time data engine. Setup Docker (quickstart) Connection Caching Patterns Cache-Aside (most common) Write-Through Cache Session Storage Rate Limiting Sliding Window For smoother rate limiting, consider a token bucket implementation using a Lua script that tracks tokens and refill timestamps in a Redis hash. Pub/Sub Streams (persistent messaging) Unlike pub/sub, streams persist messages and support consumer groups. Use to add events, to create consumer groups, and / to consume and acknowledge me…