Background jobs (असे काम जे HTTP response ला block करू नये) साठी, NestJS BullMQ (एक Redis-backed queue) सह @nestjs/bullmq द्वारे integrate होता. तुम्ही jobs ला queue मध्ये जोडता आणि त्यांना asynchronously separate workers मध्ये process करता — requests fast ठेवून आणि heavy किंवा deferred work विश्वसनीयरित्या हँडल करून.
Queues कोणती समस्या सोडवतात
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
