Giter VIP home page Giter VIP logo

mesalin's Introduction

MESALIN Distributed Message Queue with Kafka, HAProxy, Prometheus, and Grafana

Project MESALIN is a practical implementation of a distributed message queue using Apache Kafka, with load balancing provided by HAProxy, and monitoring and visualization set up with Prometheus and Grafana.

Message Queue System

Tools Used

  • Apache Kafka - Distributed Streaming Platform
  • HAProxy - Reliable, High Performance TCP/HTTP Load Balancer
  • Prometheus - Monitoring system and Time Series Database
  • Grafana - Analytics and interactive visualization web application

Setting Up the Environment

The following steps guide you through setting up the environment:

  1. Install Docker and Docker Compose.
  2. Clone this repository: git clone https://github.com/MehdiMsa/Distributed_Message_Queue.
  3. Navigate to the project directory: cd Distributed_Message_Queue.
  4. Run docker-compose up -d to start up the Docker containers.

Executing the Project

Follow these steps to execute the project:

  1. Verify that all services (Kafka, Zookeeper, HAProxy, Prometheus, and Grafana) are running using docker ps.
  2. Run the command through powershell: .\start_instances.bat
  3. Alternatively, you can run the producer Python scripts seperately: python producer.py <id>.
  4. Alternatively, you can run the consumer Python scripts seperately: python consumer.py <id>.
  5. Access the Grafana dashboard at http://localhost:3000 to visualize the metrics.

Contributors

  • Mehdi M'sallem
  • Ines Ktiti
  • Ala Boussarsar
  • Sarra Ben Rjeb
  • Emir Aissa

mesalin's People

Contributors

mehdimsa 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.