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

https://github.com/martishin/load-balancer

Simple round-robin load balancer with health checks
https://github.com/martishin/load-balancer

docker-compose go golang load-balancer makefile

Last synced: about 2 months ago
JSON representation

Simple round-robin load balancer with health checks

Awesome Lists containing this project

README

          

# Load Balancer
Simple round-robin load balancer with health checks implemented using Go, [demo](https://load-balancer.martishin.com/)

## How to Use
```
Usage of ./load-balancer:
-backends string
Load balanced backends, use commas to separate
-port int
Port to serve (default 80)
```

## Running Locally
* Build the load balancer: `make build`
* Run the balancer and 3 example web-servers: `make run`
* The balancer will be listening on port `8080`

## Testing
* Run tests: `make test`