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