Skip to content
World's most dumbest Load Balancer
Go Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update dockerimage.yml Nov 21, 2019
.gitignore all Nov 8, 2019
Dockerfile mux Nov 8, 2019 readme update Nov 6, 2019
docker-compose.yml Fix the docker-compose `command` Nov 10, 2019
go.mod typo Nov 2, 2019
main.go update Nov 9, 2019


Simple LB is the simplest Load Balancer ever created.

It uses RoundRobin algorithm to send requests into set of backends and support retries too.

It also performs active cleaning and passive recovery for unhealthy backends.

Since its simple it assume if / is reachable for any host its available

How to use

  -backends string
        Load balanced backends, use commas to separate
  -port int
        Port to serve (default 3030)


To add followings as load balanced backends

simple-lb.exe --backends=http://localhost:3031,http://localhost:3032,http://localhost:3033,http://localhost:3034
You can’t perform that action at this time.