Skip to main content
Data/Skill

Redis

Redis as cache, session store, message broker, rate limiter, and distributed lock — production patterns and best practices.

How it works

Generates implementations for cache-aside with TTL/invalidation, distributed rate limiting with sliding windows, session storage, pub/sub, sorted sets for leaderboards, and Redis Streams for event sourcing. Handles connection pooling, cluster mode, and circuit breaker patterns.

Example prompts

Add Redis caching with proper invalidation strategy

Build a distributed rate limiter using sliding window

Implement a real-time leaderboard with sorted sets

Real-world example

A social platform with 50K concurrent users implemented sorted-set leaderboards, pub/sub notifications, and sliding-window rate limiting — reducing database load by 70% while keeping feeds fresh in real-time.

Try the Redis skill

Available on all plans. 71 skills total. Start free.

Get Started Free