proxy-loadbalancer/README.md

19 lines
777 B
Markdown
Raw Normal View History

2024-01-14 14:17:56 -07:00
# proxy-loadbalancer
2024-01-14 15:19:03 -07:00
_A round-robin load balancer for HTTP proxies._
This is a simple load balancer using [proxy.py](https://github.com/abhinavsingh/proxy.py) that will route requests to a
cluster of proxy backends in a round-robin fashion. This makes it easy to connect your clients to a large number of
proxy
servers without worrying about implementing anything special clientside.
## Install
1. `pip install -r requirements.txt`
2. Copy `proxy-skeleton/app/config.py.example` to `proxy-skeleton/app/config.py` and fill in your config details.
3. Deploy the `./canihazip` and start the server.
## Use
To start the load balancer server, navigate to `./proxy-skeleton` and run `python3 -m app`. The systemd service
`loadbalancer.service` is provided as a service example.