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

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.

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.