This project uses Flask, Poetry, and Ruff. This is a study codebase. To use this code clone this repository:
git clone git@github.com:nfo94/python-load-balancer.git
Enter the project folder with cd python-load-balancer
. Then build the image locally:
make build
To compose the services:
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.