An open API service indexing awesome lists of open source software.

https://github.com/ejunjsh/goadbalance

a load balance with go
https://github.com/ejunjsh/goadbalance

Last synced: 3 months ago
JSON representation

a load balance with go

Awesome Lists containing this project

README

        

# goadbalance
[![Build Status](https://travis-ci.org/ejunjsh/goadbalance.svg?branch=master)](https://travis-ci.org/ejunjsh/goadbalance)

[![baby-gopher](https://raw.githubusercontent.com/drnic/babygopher-site/gh-pages/images/babygopher-badge.png)](http://www.babygopher.org)

a simple load balance with go, supports below feature:

* use random and round robin to select backend servers
* try to reactivate the falied backed servers
* since it runs at tcp level,so it supports all the application level protocol.

## install
````
go get github.com/ejunjsh/goadbalance
````

## run
````
$GOPATH/bin/goadbalance -a :8090 -b [backend_ip:port,backend_ip:port1,...]
````