Laravel 5.8 Tutorial From Scratch - e29 - Queues: Database Driver

preview_player
Показать описание
Let's learn about deferring processor-heavy tasks for a later time using Queues in Laravel. We will be implementing the Database Driver in local environment and talk about what other things need to be refactored to let our listener send jobs to the queue.

Resources
Course Source Code

About This Course

Ready to get started on your path to Laravel Artisan? In this series, we are breaking down all of the basics of Laravel to get you comfortable using the world's most popular PHP framework. Let's get started!
Рекомендации по теме
Комментарии
Автор

Thank you Maestro for making complex to simplex! Keep it up and stay safe!

rolanddecasa
Автор

Short, but clear. Looks like the best explanation of the Laravel Queues. Thank you !

armkhachatryan
Автор

People always ask me.. how did you learn laravel so fast?

My answer is, dedicating my life to Coder's Tape. lol

MarcHershey
Автор

You sound like a GTA Character. Absolutely Love it! And great Tut!

mohamedshuaau
Автор

WOW that's a very simple and great tutorial
Thank You!

pseudouser
Автор

Thank Y for share your knowledge, I'm learning a lot with your videos!

grbruno
Автор

that's a great video! thanks a lot!
btw what are some scenarios you would use Queues for?
eaxmple: user verification email upon new sign up?

thesparkdev
Автор

Nice video on queues. I prefer aws sqs or redis queue but I suppose they all do the same thing

CODINGISEASY
Автор

This is a pretty nice video when you see that there are lot of other not so good Indian tutorials out there (please no offence) that explain in this detail

sheikhabdullah
Автор

Thanks sir !
Something i'm not sure: In production is it Cron used to fire queue:work ?

julienSibille
Автор

Awsome video series but with this one I ran into an issue :
ShouldQueue does not work for me.
All the listeners do their tasks but when I add ShouldQueue all works identically the same as before.
So the timer waits for 10 seconds and the mail coms into mailtrap.
Nothing is added to my jobs table, but since there is a jobtable migrations have worked.
I have changed my driver to database in the ENV file and I am using sqlite just as in your tutorial.
I'm working on windows 10 with composer and installed nodejs package for the npm etc. as you have shown in previous videos of this series.
Restaring php artisan server did not change anything.
Running the same laravel with wamp running and php artisan server off had the identical result of skipping the Queue entirely.
Any other suggestions I can try to make it work as intended?

frederikzutterman
Автор

You're really awesome, i never seen before like you

munnaahmed
Автор

Thanks!
Then I only need to use the "implements ShouldQueue" in a class to queue the methods inside it?

mavbcn
Автор

Why do we add a delay time ? (any practical examples ?)

_SoundByte_
Автор

Don't know if someone else got stuck with this but if it still takes a long time make sure to clear the cache using php artisan config cache

Mickelson
Автор

I'm a bit confused on the jobs table. Are all jobs removed from the table once they have been executed?

kennethsmith
Автор

Hi Coder's tape, great series ever. I have one error for jobs lecture
[2019-12-23 12:28:34][22] Processing:
[2019-12-23 12:28:34][22] Failed:

i tried 22 times but it showing only this error again and again. Please tell me how to fix this.

Codehunting
Автор

I can't thank you enough for the great course. I have a question: Can we control the order of listener handlers e.g (chain them based on their return results)?

aksands
Автор

Hi coder tape in your tutorial series you can't teach how to connect our database to our table plus software.

fahadakhtar
Автор

I'm in love 😍 with laravel because of you hahaha, just a question please, do we need that sleep(10) function always?

walidnaceri