- Build from source using
go build -v .
from the root dir.
- Config file is written in yaml
- Have
YALB_CONFIG
environment variable that should be a path to your.yaml
config - An example config can be here
Common Load-balancing algorithms:
-
round-robin
-
least-connections
Healthcheck support
- Add an endpoint say
/ping
that returns200 OK
onGET
Get the binary using the instructions here:
-
export YALB_CONFIG=/path/to/your/configfile.yaml && ./yalb