An open API service indexing awesome lists of open source software.

https://github.com/tknishh/assignment-ai-planet

Multithread-priority-queue implementation.
https://github.com/tknishh/assignment-ai-planet

ai-planet assignment heapq juet mutex python-developer thread-safe

Last synced: 4 months ago
JSON representation

Multithread-priority-queue implementation.

Awesome Lists containing this project

README

          

# Multi-Threaded Priority Message Queue System

## Overview

This project implements a multi-threaded priority message queue system in Python. The system allows multiple threads to send messages to each other with varying priorities. Upon receiving a message, the receiving thread performs a simple action using a thread pool.

## Basic Architecture

![Architecture Diagram](https://github.com/tknishh/assignment-ai-planet/blob/master/Ai-Planet.png)

## Detailed documention on implementation

PLease access the doc [here](https://docs.google.com/document/d/1UjUhsqujDPqQuT2Wb4NEYX2C-TESM4VYxFDL7noD_gM/edit?usp=sharing) or check [documentation.md](https://github.com/tknishh/assignment-ai-planet/blob/master/documentation/documentation.md)

## Steps to Run

1. **Clone the Repository:**
```bash
git clone https://github.com/tknishh/assignment-ai-planet
cd
```

2. **Run the Code:**
```bash
python code.py
```

3. **Follow On-screen Instructions:**
- The program prompts for user input to send messages and test various functionalities.

4. **Provide Input When Prompted:**
- Follow the prompts to send messages and interact with the program.

5. **Review Results:**
- Observe the messages, actions, and outputs to verify the functionality.

6. **Terminating the Program:**
- Follow on-screen instructions to terminate the program gracefully.

## Embedded Video Explanation

[Watch Video Explanation](https://www.loom.com/share/ce74f48015cd4b828bce0843e6629570?sid=1a63cfa4-2f29-4d59-a887-8f2de05f63b1)

In this video, I've provided a detailed explanation of the code, its components, and how to run and test the multi-threaded priority message queue system. If you have any questions or encounter issues, refer to the video for a step-by-step guide.

## Note
Help of codium, github-copilot, chatgpt was taken to enhance, document and figure best actions and functionalities to program.

## Author
[@tknishh](https://github.com/tknishh)