Skip to content

Go balancer is out of box load balancer for any type of task

Notifications You must be signed in to change notification settings

alidevhere/go_balancer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Balancer

Go Balancer is package to load balance any type task. For example you have an API that receives files, process them and do something with it. If you many users upload file to your system it may over burden your system.

To deal with this scenario you can use Go Balancer. It provides out of box functionality to load balance any task.

You just need to implement interface


type runnable interface {
	// Run() is the function that will be executed by the load balancer.
	Run()
}

Just define a function Run() on your struct and write the logic you want to execute for each task.

Use

go get github.com/alidevhere/go_balancer

Examples:

Examples are in examples directory of this repo.

About

Go balancer is out of box load balancer for any type of task

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages