https://github.com/nfo94/python-load-balancer
Load balancer written in Python for study purposes.
https://github.com/nfo94/python-load-balancer
Last synced: about 2 months ago
JSON representation
Load balancer written in Python for study purposes.
- Host: GitHub
- URL: https://github.com/nfo94/python-load-balancer
- Owner: nfo94
- Created: 2024-04-22T08:37:41.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-04T09:41:52.000Z (11 months ago)
- Last Synced: 2025-02-03T18:16:54.575Z (4 months ago)
- Language: Python
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### python-load-balancer
This project uses [Flask](https://flask.palletsprojects.com/en/3.0.x/),
[Poetry](https://python-poetry.org/), and [Ruff](https://docs.astral.sh/ruff/). This is a study codebase.
To use this code clone this repository:```bash
git clone [email protected]:nfo94/python-load-balancer.git
```Enter the project folder with `cd python-load-balancer`. Then build the image locally:
```bash
make build
```To compose the services:
```bash
make compose
```The `app.py` file is our main server and the `loadbalancer.py` file is our load balancer, meaning
is the software that will handle the requests for the instances created from the image of the `app.py`
file (mangos and apples).You can check other useful commands in the Makefile.