Тёмный

Refactoring to Batched Jobs from Actions - CLI-Driven Development for Large Jobs 

Kompute’s Edge
Подписаться 1,1 тыс.
Просмотров 785
50% 1

Today I'm working with Laravel Jobs and queues over a Bus to process my jobs in sequence. Before I begin, I'm setting up individual Actions and testing each step of my flow via the CLI. To simplify my process, I'm using the Laravel Actions package to extend my actions as commands and jobs.
Best of all, these actions can be used batched and used over a bus!
Resources used within my video:
laravelactions.com/
laravel.com/docs/9.x/queues#a...
00:00 - Intro
00:13 - What we are doing today
01:19 - “Gotchas”
02:18 - Introducing Laravel Actions
03:22 - Mapping Actions to Jobs
03:46 - Actions as CLI Commands
04:35 - Testing our first CLI Action
05:18 - Testing our second CLI Action
05:55 - Testing our third CLI Action
06:31 - Refactoring our Actions into Batch Jobs over a Bus
07:38 - Testing our Bus::batch($chain) command
08:07 - Optimizing our Jobs (to process smaller parts )
09:16 - Using then() to chain batches
10:18 - Refactoring Actions into Child Jobs
10:54 - Wrapping up
11:24 - Laravel Actions for the win!
12:01 - Thanks for watching!
Enjoy!

Наука

Опубликовано:

 

6 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 2   
@DarylLegion
@DarylLegion 2 года назад
The audio is so clear! what's that mic you're using?
@kedotdev
@kedotdev 2 года назад
Thanks. It’s a Yeti.
Далее
ChatGPT - How To Quickly Learn Any Programming Language
38:48
I've been using Redis wrong this whole time...
20:53
Просмотров 334 тыс.
What turned out better to repeat? #tiktok
00:16
Просмотров 1,5 млн
How Britain Became a Poor Country
41:36
Просмотров 1 млн
I Quit My 6 Figure Data Scientist Job in Tech
17:27
Просмотров 2 тыс.
ПОКУПКА ТЕЛЕФОНА С АВИТО?🤭
1:00
Сложная распаковка iPhone 15
1:01
Просмотров 14 тыс.
iPhone перегрелся, что делать?!
1:01