What problem does it solve?
This Skill provides Redis-based caching, session storage, rate limiting, and BullMQ queue integration to improve performance, scalability, and background processing for Node.js/Express backends.
Core Features & Use Cases
-
Caching: API responses and data lookups are stored in Redis to reduce database load and latency.
-
Session Management: Centralized session or token storage to support horizontal scaling across multiple instances.
-
Rate Limiting: Per-user or global request throttling using Redis counters with TTLs.
-
Background Jobs: BullMQ queues for asynchronous tasks (emails, notifications, analytics) with reliable retry strategies.
-
Use Case: In a multi-instance storefront, Redis enables shared cache, sessions, and job processing to ensure consistent behavior under load.
Quick Start
Install dependencies and run Redis (locally or via Docker), then configure the backend to connect to Redis using REDIS_HOST and REDIS_PORT. Initialize Redis client in your server startup and start queuing jobs with BullMQ as shown in the setup docs.