ระบบ queue ของ Laravel ช่วยให้คุณเลื่อนงานที่ใช้เวลานาน (ส่งอีเมล ประมวลผลไฟล์ เรียก API ที่ช้า) ไปทำงาน ใน background เพื่อให้ผู้ใช้ได้รับ response ที่รวดเร็ว งานจะถูกห่อหุ้มเป็น Job ผลักเข้าไปใน queue และประมวลผลโดยกระบวนการ worker ที่แยกออกมา
ปัญหาที่ queue แก้ไข
Slow work done inline makes the user wait and risks request timeouts:
✗ sending emails, processing images/video, generating reports, calling slow APIs
✓ QUEUE it → respond to the user immediately → a worker handles it in the background
