Redis for fast in-memory caching + BullMQ for background job queuing gives NestJS the same blazing speed as Fastify by offloading heavy work and caching hot data.
Use @nestjs/cache-manager with Redis store for HTTP response caching, and @nestjs/bullmq for async job processing. This combo handles high throughput by caching reads instantly and queuing writes/jobs separately.
Step 1:-Install: npm i @nestjs/cache-manager cache-manager-redis-store @nestjs/bullmq bullmq ioredis
Step 2:-
Controller with cache + queue
.png)

.png)
