Integration Guide
How to integrate NestJS RedisX with your existing codebase and infrastructure.
For Developers
| Guide | Description |
|---|---|
| Migration from cache-manager | Move from @nestjs/cache-manager |
| Migration from ioredis | Move from raw ioredis usage |
| NestJS Patterns | Guards, interceptors, and filters |
| Testing Strategy | Unit and integration testing |
For DevOps
| Guide | Description |
|---|---|
| Prometheus & Grafana | Metrics and dashboards setup |
| OpenTelemetry | Distributed tracing setup |
Quick Migration Assessment
Migration Complexity
| From | Complexity | Time Estimate |
|---|---|---|
| @nestjs/cache-manager | Low | 1-2 hours |
| Raw ioredis | Medium | 2-4 hours |
| Custom Redis wrapper | Medium-High | 4-8 hours |
| Other cache libraries | Varies | Depends on abstraction |
Next Steps
Choose your integration path:
- New project: Installation → Quick Start
- Existing cache-manager: Migration Guide
- Existing ioredis: Migration Guide
- Setting up observability: Prometheus & Grafana