Skip to content

A powerful and configurable load balancer, built in Go.

License

Notifications You must be signed in to change notification settings

kauefraga/anubis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a70ee18 · Aug 4, 2024

History

31 Commits
Jul 16, 2024
Aug 4, 2024
Aug 4, 2024
Jul 15, 2024
Aug 4, 2024
Jul 14, 2024
Aug 4, 2024
Jul 15, 2024
Jul 16, 2024
Jul 19, 2024

Repository files navigation

Anubis

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

A powerful and configurable load balancer, built in Go.

Configuration

  • version - Anubis version (default: 1)
  • port - Anubis port (default: 4000)
  • algorithm - algorithm you want to use, round-robin, least-connection or weighted-response-time (default: round-robin)
  • servers - array of servers address
Algorithm Alias
  • round-robin, rr
  • least-connection, lc
  • weighted-response-time, wrt

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'