Remember this
A queue lets your API accept work now and finish it later. The user gets a fast response, while a worker handles the slow or unreliable task in the background.
When to use it
Use a queue when work takes longer than a normal request should, or when an external service can fail. Common hackathon examples are sending OTP emails, generating PDFs, resizing images, calling an AI model, syncing UPI payment status, or sending WhatsApp alerts.
Do not put everything in a queue. Reading a profile, creating a simple record, or checking login should usually stay in the API request.