A simple round-robin load balancer implemented in Go. This application distributes incoming HTTP requests to multiple backend servers.
- Round-robin load balancing
- Health check for backend servers
- Configurable backend servers through command-line arguments
- Lightweight Docker image for easy deployment
- Go 1.22.3 or higher
- Docker (optional, for running in a container)
git clone https://github.com/Yashh56/GoLoadBalancer.git
cd GoLoadBalancer
go build -o load_balancer
docker build -t load_balancer .
./load_balancer -backends=http://backend1:8081,http://backend2:8082,http://backend3:8083
docker run -p 3030:3030 load_balancer