kauefraga / anubis

A powerful and configurable load balancer, built in Go.
MIT License
7 stars 1 forks source link
go load-balancer toml

Anubis

Anubis badge GitHub's license GitHub last commit (branch)

A powerful and configurable load balancer, built in Go.

Configuration

Algorithm Alias

Example of minimal configuration:

[[servers]]
url = 'http://localhost:4001'

[[servers]]
url = 'http://localhost:4002'

Resulting in version = 1, port = 4000, algorithm = 'round-robin' and servers = ['localhost:4001', 'localhost:4002'].

Example of full configuration:

version = 1
port = 3333
algorithm = 'least-connection'

[[servers]]
url = 'http://localhost:3334'

[[servers]]
url = 'http://localhost:3335'

[[servers]]
url = 'http://localhost:3336'