Per background job (lavoro che non dovrebbe bloccare la risposta HTTP), NestJS si integra con BullMQ (una coda supportata da Redis) tramite @nestjs/bullmq. Aggiungi job a una coda e li elabori asincronamente in worker separati — mantenendo le richieste veloci e gestendo il lavoro pesante o differito in modo affidabile.
Perché è importante
Some work is too slow or shouldn't block the request:
✗ sending emails, processing images/video, generating reports, calling slow APIs
→ doing it inline makes the user wait and risks timeouts/failures
✓ QUEUE the work → respond immediately → a worker processes it in the background
