Redis data structures and their use cases, RDB vs AOF vs hybrid persistence, Redis Sentinel for high availability, Redis Cluster for horizontal scaling with hash slots, eviction policies, diagnostic commands, and an honest look at when Redis is the right tool.
Redis
-
Redis Architecture and Persistence -
Cloud Database Trade-offs: RDS vs Aurora vs DynamoDB vs ElastiCache When to use RDS, Aurora, Aurora Serverless v2, DynamoDB, and ElastiCache. Connection pooling with RDS Proxy, single-table DynamoDB design, partition hotspots, Valkey, and the cost math.
-
Semantic Caching for LLM Applications: Cutting Cost and Latency How embedding-based semantic caching works, why threshold tuning is the hardest part, cache invalidation patterns that prevent staleness, and practical implementations with GPTCache, LiteLLM, and a from-scratch Redis + FastAPI setup.
-
API Rate Limiting Patterns: Algorithms, Redis Implementations, and Client Communication A deep dive into rate limiting algorithms — token bucket, sliding window log, sliding window counter, fixed window, and leaky bucket — with production Redis implementations, distributed rate limiting, and how to communicate limits to clients.
-
Nextcloud: Your Own Google Drive (That You Actually Control) A complete guide to deploying Nextcloud: Docker Compose setup, performance tuning with Redis and APCu, external storage backends, Nextcloud Office for collaborative editing, mobile sync, and maintaining a fast, reliable installation.
-
Redis Beyond Caching: Streams, Pub/Sub, Search, and When Redis Is Your Primary Database A deep dive into Redis beyond the cache: pub/sub messaging, Streams for event logs, RedisJSON for document storage, RediSearch for full-text search, persistence modes, and HA with Cluster vs Sentinel.
-
Caching Strategies for Performance How to implement caching effectively at different layers of your application.