tr8norman

Member Since 1 Year Ago

Experience Points
13,920
Total
Experience

1,080 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
135
Lessons
Completed
Best Reply Awards
0
Best Reply
Awards
  • start your engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-in-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • evangelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

  • Community Pillar

    Earned once your experience points ranks in the top 10 of all Laracasts users.

Level 3
13,920 XP
Apr
07
6 days ago
Activity icon

Replied to [LARAVEL HORIZON] How To Specify Which Queue Connection Laravel Horizon Uses

@neilstee ah ok I found

'use' => 'default',

in horizon.php. I think this is how Horizon know which Redis connection to use

Activity icon

Replied to [LARAVEL HORIZON] How To Specify Which Queue Connection Laravel Horizon Uses

hi @neilstee

Thank you very much for the very detailed reply!

I have actually done all the steps that you mentioned. But still I observed that I can still see jobs submitted to redis_b on my horizon which is supposed to be monitoring redis_a only.

Actually I realize that my question can be summarised by:

How do we set which queue connection, Horizon should monitor? Is it always the default queue connection only?

Apr
06
1 week ago
Activity icon

Started a new Conversation [LARAVEL HORIZON] How To Specify Which Queue Connection Laravel Horizon Uses

I have 2 Redis connections (Redis A and Redis B) on my Laravel application.

My Laravel application (consists of multiple servers/queue workers, lets call it Application X) submit jobs to Redis A queue and process the jobs in its workers. Application X uses horizon to monitor the queue and trigger the workers.

Application X also submit jobs to Redis B, but the one processing the jobs submitted to Redis B is a different Laravel application (let's call it Application Y). Application Y also has a Horizon enabled and it also has multiple servers to act as queue workers. Application Y only have 1 Redis connection to Redis B (no connection to Redis A)

My questions is:

When setting up Horizon on server A, I have 2 "driver" defined in under "redis" connection on database.php for Redis A and Redis B. On queue.php, I have also defined 2 connections with "driver" as "Redis". How does Horizon in Application X knows which queue connection to use? Is it simply taking the default queue connection (which is taking value from env('QUEUE_CONNECTION', 'sync')) Or is it simply monitoring all Redis-based queues defined in queue.php? I noticed that I can still see jobs that I submitted to Redis B in Pending jobs of horizon of Application X.

Apr
05
1 week ago
Activity icon

Started a new Conversation [LARAVEL HORIZON] Gracefully Shutting Down Horizon On A Multi Server Setup

We have a multi-server setup where each server is running php artisan horizon through Supervisord (with autorestart configured)

In this setup when I run php artisan horizon:terminate, does it gracefully shutdown all Horizon processes in all servers, or is it only terminating horizon on the server from where I ran the command?