Queue processing is a standardized way in Laravel to offload some time consuming task away from your synchronous processing. Things like image processing, PDF generation and sending emails shouldn’t slow down your request handling.

Using queues helps improve the UX of your customers with reduced latency and a faster Time To Last Byte.

Queue workers are traditionally processes that run continuously and check for new tasks to be handled. A dedicated VM for instance could handle this workload. When the queue is empty you still have to pay for that instance, even if it is idle most of the time…

Alex De Smet

Cloud Engineer @vbridgebv. Former college teacher.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store