Laravel का queue system आपको समय लेने वाले कार्यों (emails भेजना, files process करना, धीमे APIs को call करना) को background में चलाने के लिए स्थगित करने देता है, ताकि user को तेज़ response मिले। कार्यों को Jobs के रूप में encapsulate किया जाता है, एक queue पर push किया जाता है, और अलग worker processes द्वारा process किया जाता है।
queues किस समस्या को हल करते हैं
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
