Background jobs-க்கு (HTTP response-ஐ block செய்யக்கூடாத வேலை), NestJS @nestjs/bullmq மூலம் BullMQ (ஒரு Redis-backed queue) உடன் ஒருங்கிணைகிறது. நீங்கள் ஒரு queue-க்கு jobs-ஐச் சேர்த்து, அவற்றை தனி workers-இல் asynchronously process செய்கிறீர்கள் — requests-ஐ வேகமாக வைத்திருந்து, கனமான அல்லது தள்ளிவைக்கப்பட்ட வேலையை நம்பகமாகக் கையாள்கிறீர்கள்.
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
