redis-cache-patterns
Installation
SKILL.md
Redis Caching Best Practices
Overview
Redis caching reduces Firestore reads and improves response latency. However, Redis introduces concerns around max connections, network egress costs, and failure handling.
Key Principles:
- Fail fast, fail safe - Never block requests due to Redis issues
- Fire-and-forget writes - Cache writes should not slow down responses
- Circuit breaker - Temporarily disable Redis on connection issues
- Graceful degradation - Always fall back to Firestore