Skip to main content

Other Queue Drivers: Redis and Laravel Horizon

Premium
2 min read

In this lesson, we'll explore alternative queue drivers beyond the database driver we've been using so far.

We'll focus on Redis, one of the most popular queue drivers in Laravel development, and introduce Laravel Horizon for monitoring queues.


Why Use Redis for Queues

For local development, the database driver works fine. But when deploying your application to production with many jobs in the queue, Redis often becomes a better solution for several reasons:

  1. Better Performance: Redis is an in-memory database that works as key-value storage, making it faster than traditional MySQL databases.

  2. Reduced Database Load: Redis runs as a separate system, so your queue operations don't add extra load to your main database.

  3. Improved Reliability: Job processing is more reliable with Redis, especially under high load.

  4. Laravel Horizon Support: With Redis, you can use Laravel Horizon, a dashboard for monitoring your queues.

Laravel Horizon provides a beautiful...

The Full Lesson is Only for Premium Members

Want to access all of our courses? (30 h 09 min)

You also get:

55 courses
Premium tutorials
Access to repositories
Private Discord
Get Premium for $129/year or $29/month

Already a member? Login here

Comments & Discussion

No comments yet…

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.