Kanggo background jobs (karya sing ora kudu ngalangi HTTP response), NestJS integrasi karo BullMQ (queue sing didukung Redis) liwat @nestjs/bullmq. Sampeyan nambah jobs menyang queue lan proses asynchronously ing workers kapisah — nggawé request cepet lan nangani karya abot utawa deferred kanthi reliable.
Masalah sing dipecahake queue
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
