https://github.com/maddygoround/gobalancer
A dump load balancer routing traffic based on bounded consistent hashing strategy
https://github.com/maddygoround/gobalancer
consistent-hashing golang loadbalancer
Last synced: 10 months ago
JSON representation
A dump load balancer routing traffic based on bounded consistent hashing strategy
- Host: GitHub
- URL: https://github.com/maddygoround/gobalancer
- Owner: maddygoround
- Created: 2022-04-10T06:46:27.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-11T14:13:56.000Z (about 4 years ago)
- Last Synced: 2025-03-20T03:59:55.457Z (about 1 year ago)
- Topics: consistent-hashing, golang, loadbalancer
- Language: Go
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gobalancer
## _A dump load balancer routing traffic based on bounded consistent hashing strategy_
Currenlty it is using query params for hashring you can chnage it host or httpheader bu changing
## Features
- Supports healthcheck every 30 seconds
- 3 retries before considering server as unavaiable
- Active and Passive healthcheck supports
```sh
serverpool.Strategy.name = "query"
```
By default, the loadbalancer will expose on port 3031, you change it by suppily port while starting loadbalancer
```sh
go run . --port {port}
```