Redis Patterns & Optimization
Implements high-performance Redis patterns for caching, session management, rate limiting, and background job processing.
This skill provides a comprehensive suite of Redis implementation patterns optimized for Node.js environments using ioredis and node-redis. It equips Claude with the expertise to build resilient backend systems through advanced cache-aside strategies, atomic operations via Lua scripting, and reliable background processing with BullMQ. By enforcing critical best practices—such as separate connections for Pub/Sub, mandatory error handling, and cluster/sentinel integration—the skill ensures that Redis is utilized as a high-performance, ephemeral data store that complements primary databases without risking data inconsistency or application crashes.