Skip to content

Manish210103/LoadBalancer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

LoadBalancer

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

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

Example:

To add followings as load balanced backends

package_main.exe --backends=http://localhost:3031,http://localhost:3032,http://localhost:3033,http://localhost:3034

About

simple load balancer using GO

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages