https://github.com/onestraw/golb
:octopus: Yet another load balancer
https://github.com/onestraw/golb
etcd go load-balancer service-discovery
Last synced: 3 months ago
JSON representation
:octopus: Yet another load balancer
- Host: GitHub
- URL: https://github.com/onestraw/golb
- Owner: onestraw
- License: mit
- Created: 2018-05-08T09:57:52.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2019-11-20T08:18:46.000Z (over 6 years ago)
- Last Synced: 2026-04-07T07:49:53.211Z (3 months ago)
- Topics: etcd, go, load-balancer, service-discovery
- Language: Go
- Homepage:
- Size: 9.11 MB
- Stars: 321
- Watchers: 10
- Forks: 28
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go LB
[](https://travis-ci.org/onestraw/golb)
[](https://goreportcard.com/report/github.com/onestraw/golb)
[](https://coveralls.io/github/onestraw/golb?branch=master)
[](https://godoc.org/github.com/onestraw/golb)
Yet another load balancer

## Features
- [roundrobin](roundrobin/): smooth weighted roundrobin method
- [chash](chash/): cosistent hashing method
- [balancer](balancer/): **multiple LB instances, passive health check, SSL offloading**
- [controller](controller/): dynamic configuration, **REST API to start/stop/add/remove LB at runtime**
- [service discovery](discovery/): autodiscover backend services with **etcd** or **consul**
- [statistics](stats/): HTTP method/path/code/bytes
- [conf](config/): yaml and json configuration
## Examples
- [Basic configuration and REST API](examples/restapi)
- [SSL offloading](examples/https)
- [Service discovery with etcd](examples/etcd)
- [Service discovery with consul](examples/consul)
## LICENSE
MIT License
Copyright (c) 2018 Larry He