Git Product home page Git Product logo

horizon-queue-manager's Introduction

Install

You can install all containers by the below command

make horizon

Horizon As a central queue manager

Imagine that we have several microservices and one Redis server to handle queues, in this case, we can use Laravel Horizon as the central queue manager for all of the queues of all microservices. BUT IT'S NOT POSSIBLE! Because Laravel created a premium application called Nova for this use!

Other ways

Laravel Horizon is designed to provide individual dashboards for each application to ensure better isolation and monitoring of queues per application. This design choice helps in understanding the performance and status of each application's queues separately.

If you want to have a centralized dashboard that shows jobs from multiple applications, you have a few options:

  1. Custom Dashboard: Create a custom dashboard or reporting tool that fetches and aggregates the queue metrics and data from different Horizon instances running on each application. You can use Laravel's API endpoints provided by Horizon to gather the necessary information and display it in a unified dashboard.

  2. Third-Party Monitoring Tools: There are third-party monitoring and dashboard tools available that can integrate with Laravel Horizon and provide centralized monitoring for multiple applications. Tools like Prometheus and Grafana are commonly used for this purpose.

  3. Laravel Nova: If you have Laravel Nova installed, it provides a way to monitor Horizon queues across multiple applications by connecting to each application's database. Laravel Nova is a premium package, and you need a license to use it.

It's important to consider the security implications of having a centralized dashboard. Accessing queue data from different applications in a single dashboard may introduce potential security risks. Be cautious when exposing data across applications, especially if they are handling sensitive information.

Prometheus and Grafana!

horizon-queue-manager's People

Contributors

mekaeil avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.