Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoLB: The Lightweight, User-Friendly Load Balancer for Testing in Go

Discache

GoLB is a simple RoundRobin golang loadbalancer. It performs active cleaning and passive recovery for unhealthy backends.

Features:

  • Cleans: Excludes servers marked as unhealthy from the round-robin rotation.
  • Recovers: Periodically tries to recheck and reintegrate previously unhealthy servers back into service.
package main

import (
    "github.com/dhyanio/golb"
)

func main() {
    // Slice of servers
	servers := []string{"http://localhost:8081", "http://localhost:8082"}

    // Start Loadbalancer
	golb.Start(serverList, "3000")
}

About

The Lightweight, User-Friendly Load Balancer in Go

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages