hi im building my own “load balancer”, already built out the round robin algo (www.cloudflare.com/learning/performance/types-of-load-balancing-algorithms you can learn more about it here :3 ) and weighted round robin, currently its just a small hyper server that runs and you have to use it like this (localhost:8081 and localhost:8082 are two expressjs servers & localhost:8080 is where the load balancer runs so it can distribute requests across these 2 servers). planning to make a small interface using yew.rs so you can use it on a UI too
github.com/anddddrew/juggler (code is here, still a wip!)
./target/release/juggler --port 8080 --servers <http://localhost:8081>,http:/localhost:8082