No video

1. Laravel Horizon - Monitor Redis Queue Jobs

  Рет қаралды 33,014

Bitfumes

Bitfumes

Күн бұрын

A #laravel #horizon is a official package to run redis based #queue.
Why we need laravel horizon package and Let's get started with this package
Package Useful Links:
Docs : laravel.com/docs/6.x/horizon
======================= Ad Free Tutorials ======================
Check bitfumes.com For ads-free and more advanced courses (use Coupon code WELCOME60 to get 60% discount)
==================FOLLOW ME ==================
Subscribe for New Releases!
Twitter - / bitfumes
Facebook - / bitfumes
Instagram - / bitfumes
(ask me questions!)
-- QUESTIONS? --
Leave a comment below and I or someone else can help you.
For quick questions you may also want to ask me on Twitter, I respond almost immediately.
Email me support@bitfumes.com
Thanks for all your support!

Пікірлер: 51
@shaikhfoysal4426
@shaikhfoysal4426 3 жыл бұрын
Thanks Brother.
@WhiteSiroi
@WhiteSiroi Жыл бұрын
thank you, very helpful
@mansoorsajedi7316
@mansoorsajedi7316 3 жыл бұрын
very well friend. you are awesome
@MrMacphist0
@MrMacphist0 4 жыл бұрын
nice video. Note that the failling jobs probably have nothing to do with the queue/predis/horizon: It seems to me that you are on a free Mailtrap plan which is ratelimited to two messages per 10sec.
@adnanshoukat2300
@adnanshoukat2300 Жыл бұрын
You are right. I was also thinking about why jobs are failing. Now I get it.
@mnoquiao
@mnoquiao Жыл бұрын
correct.
@SheikhMobin
@SheikhMobin 4 жыл бұрын
Great job. I'm also trying to install horizon for my lumen 7.x project. Please explain how to do this?
@MrAtomUniverse
@MrAtomUniverse 4 жыл бұрын
Hi, Can I launch multiple "VPS" of the same copy of laravel so I can "load balance" the work load" I'm currently running on only 1 vps but it's overloaded , I was thinking of using queue and launch more of the same copy of laravel (snapshot , launch) The worker should take from the "main queue" and update the database accordingly? Is that a standard practice to launch more workers?
@yidug.abraha9428
@yidug.abraha9428 3 жыл бұрын
Hello sir does horizon have an api route? i wanted to make a custom ui and integrate it with my admin panel. my admin panel is a separate vuejs project.
@namachivaaya
@namachivaaya 3 жыл бұрын
Hi... Thank you for sharing the nice tutorial. I used redis cache in my application but it really very slow compare to file cache driver. Is there any thing to update. Could you please please suggest to speed up the application when using redis... Thank you
@QaziHamayun
@QaziHamayun 3 жыл бұрын
@Bhaskar I am using Redis since 2019, and I never feel it slow. there must be some configuration and server resources issue in case of speed
@DevPremier
@DevPremier 4 жыл бұрын
Nice tutorial. Btw, I really like your theme. asking silly, can you name it?
@Bitfumes
@Bitfumes 4 жыл бұрын
Its material theme with operator mono font
@elliot-robot
@elliot-robot Жыл бұрын
Can anyone tell me which font is this in VScode ?
@elliot-robot
@elliot-robot Жыл бұрын
Which font is this in IDE ?
@dishantarora4349
@dishantarora4349 3 жыл бұрын
Please help!! Getting below error while using predis queue Predis\Connection\ConnectionException No connection could be made because the target machine actively refused it. [tcp://127.0.0.1:6379] Thanks in advance
@mohamadharis9489
@mohamadharis9489 2 ай бұрын
why i got this issue 403 Forbidden???
@priyankpatel2611
@priyankpatel2611 3 жыл бұрын
Hey sarthak, have you found solution to process jobs without failure, I'm looking for solutions, can please post part 2 if you found any solution.
@realtebo
@realtebo 3 жыл бұрын
failure is not due to laravel or horizon. If the php code fails, the job fails.
@aizazaziz5636
@aizazaziz5636 4 жыл бұрын
when i run php artisan horizon it gives Symfony\Component\Debug\Exception\FatalThrowableError : Call to undefined function Laravel\Horizon\Console\pcntl_async_signals()
@vritikamalhotra4912
@vritikamalhotra4912 3 жыл бұрын
Hey did you get the solution?? I am still struggling
@QaziHamayun
@QaziHamayun 3 жыл бұрын
you must need to install/enable pcntl plugin in php.
@realtebo
@realtebo 3 жыл бұрын
horizon requires pcntl that is not available under windows. If not using windows, simply install pcntl extension to your php and enable it
@kuldeepsharma-vx4gm
@kuldeepsharma-vx4gm 7 ай бұрын
protected function gate(): void { Gate::define('viewHorizon', function ($user) { return in_array($user->number, [ '1111111111' ]); }); } } i try this and when i login from another number i can still access the /horizon can you please help me...
@enlightenedwithkanika
@enlightenedwithkanika 3 жыл бұрын
if u get Error : Connection refused [tcp://127.0.0.1:6379] Follow the steps in linux : 1> sudo apt-get update 2> sudo apt-get install redis-server 3> sudo systemctl restart redis.service
@vritikamalhotra4912
@vritikamalhotra4912 3 жыл бұрын
How to solve the issue of pcntl on windows . Please help :)
@realtebo
@realtebo 3 жыл бұрын
There is absolutely no solution to this. Windows and php are not so good friends
@pareshgc1816
@pareshgc1816 3 жыл бұрын
Hi, In my project with horizon job was completed, but dont sent email and also that not return any error. i am using smtp for sending mail. please suggest me any solution.
@realtebo
@realtebo 3 жыл бұрын
test sending email out of job. If job executed, mail was sent. If mail was not recevied the problem is not related to job and laravel and horizon and redis. Check what happens after sending an email in a controller, without using jobs.
@shamir-imtiaz
@shamir-imtiaz 4 жыл бұрын
By the way , why jobs are failed?so this is not safe for production?
@mohamedshuaau632
@mohamedshuaau632 4 жыл бұрын
Jobs are failing because of mailtrap limitation. not because of horizon or redis
@shamir-imtiaz
@shamir-imtiaz 4 жыл бұрын
@@mohamedshuaau632 oh okk got it...thanks
@EduardoRomeroCodigosPro
@EduardoRomeroCodigosPro 2 жыл бұрын
It starts at 5:40 😅
@kaushalkoladiya2399
@kaushalkoladiya2399 4 жыл бұрын
I can't able to install horizon in my environment Why this is happening?
@Bitfumes
@Bitfumes 4 жыл бұрын
what error you are getting
@kaushalkoladiya2399
@kaushalkoladiya2399 4 жыл бұрын
@@Bitfumes - laravel/horizon v4.0.2 requires ext-pcntl * -> the requested PHP extension pcntl is missing from your system.
@patchido
@patchido 4 жыл бұрын
Why are the jobs being failed?
@realtebo
@realtebo 3 жыл бұрын
because mailtrap is rate limited to only 3 mail in a span of 10 seconds
@HelenaDuGraus
@HelenaDuGraus 4 жыл бұрын
do not sending the mail to my mailtrap, even the code works normally
@kinvain
@kinvain 13 күн бұрын
It was exiting to see which errors you get. 🙄
@Bitfumes
@Bitfumes 12 күн бұрын
hahah yeahh it sometimes get error
@UpTballA
@UpTballA 3 жыл бұрын
LARAVEL HORIZON DOES NOT WORK ON WINDOWS STOP TRYING~!, dualboot and install ubuntu if you want, you won't succeed this on windows. even if you get ext-pcntl to work, still need ext-posix also. newer redis versions are not easy to install on windows if you need redis on windows learn docker and use docker run --name rdb -p 6379:6379 redis docker exec -it rdb redis-cli php-redis also cannot be installed on windows you can use predis but thats NOT enough to use horizon. good luck friends
@warrenarnold
@warrenarnold 10 ай бұрын
yeap this is a good solution, however used to run the horizon directly on windows, just without it on background with a supervisor, my php artisan horizon used to work however it suddenly stopped
@michabbb
@michabbb 3 жыл бұрын
please learn to speak a correct "th", please... !
@realtebo
@realtebo 3 жыл бұрын
I don't appreciated your comment. English native speaking people should try to understand like we do when you came in our country and try to speak our language; we do not stress strangers about pronunciations !
@realtebo
@realtebo 3 жыл бұрын
And yes, my english grammar is near to an horror film
Laravel Google Translate Package
4:25
Bitfumes
Рет қаралды 22 М.
Laravel Queues | Очереди на Laravel | Как реализовать долгие задачи
24:28
Lectoria. Обучение веб-разработке.
Рет қаралды 10 М.
Amazing weight loss transformation !! 😱😱
00:24
Tibo InShape
Рет қаралды 64 МЛН
Why Is He Unhappy…?
00:26
Alan Chikin Chow
Рет қаралды 57 МЛН
Llegó al techo 😱
00:37
Juan De Dios Pantoja
Рет қаралды 58 МЛН
Laravel Horizon: queue monitoring + configuration
14:54
Aaron Francis
Рет қаралды 16 М.
DHH discusses SQLite (and Stoicism)
54:00
Aaron Francis
Рет қаралды 57 М.
PHP is the future
34:27
Aaron Francis
Рет қаралды 171 М.
Laravel Scheduled Tasks
28:06
Better Stack
Рет қаралды 2,4 М.
Laravel: Optimize Queue Jobs To Be "Dumb" With Fewer Parameters
5:14
Laravel 6 Advanced - e1 - Service Container
23:27
Coder's Tape
Рет қаралды 273 М.
What if my Intel CPU explodes??
14:20
Paul's Hardware
Рет қаралды 60 М.
Laravel Advanced - Task Scheduling - CRON Job
16:26
Laratips
Рет қаралды 61 М.
What is a REST API?
9:12
IBM Technology
Рет қаралды 1,5 МЛН
Laravel and Redis: The Absolute Basics
9:59
Josh Cirre
Рет қаралды 2,5 М.
Amazing weight loss transformation !! 😱😱
00:24
Tibo InShape
Рет қаралды 64 МЛН