Maidir le tasc-bhhogra (obair nach ba chóir don fhreagra HTTP a bhacadh), comhpháirtí NestJS le BullMQ (scuain atá dúnmhairithe ar Redis) trí @nestjs/bullmq. Cuireann tú tasc ar scuain agus dhéanann tú iad a phróiseáil go neamhspleách i n-oibrí ar leith — ag coimeád tuairimí tapa agus ag láimhseáil oibre throm nó fhíoraithmeach go iontaofa.
An fhadhb a réitíonn scuaine
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
