Laravel Tutorial: Queue

preview_player
Показать описание
Queues allow you to defer the processing of a time consuming task, such as sending an email, until a later time. Deferring these time consuming tasks drastically speeds up web requests to your application.
In this video i go through how to configure queue in laravel and start using them right away using an example of water marking an uploaded image .

Leave your questions in the comments down below.
Thank you.
Рекомендации по теме
Комментарии
Автор

Wow. Very helpful!
1. How do you run the queue work when the site is already hosted on the server[production] ?
2. How do you check when a job has finished running? Say you want to notify the user of the completed task.

Thanks in anticipation

premiumrealtyng
Автор

Thanks for this helpfully explained video.
Can you tell me, when the app is in production, how you will handle running the "php artisan queue:work" command?

mdabdullahilshafi
Автор

can you please make a tutorial about queue with supervisor?

shojibflamon
Автор

email can be sent later on. however when is file uploaded it should be saved on server. wont it be frustrating to make user wait or is it for resource optimization of server?

code-to-design