Top 0.9% dependent packages on proxy.golang.org
Top 1.0% dependent repos on proxy.golang.org
Top 3.9% forks on proxy.golang.org
Top 1.5% docker downloads on proxy.golang.org
proxy.golang.org : github.com/smallnest/weighted
Package weighted implements two weighted round robin algorithms. One is the smooth weighted round-robin balancing algorithm used in Nginx, and you can use "w := new SW{}" to use it. The other is wrr used in LVS and you can use "w := new RRW{}" to use it. For Nginx smooth weighted round-robin balancing algorithm, you can check https://github.com/phusion/nginx/commit/27e94984486058d73157038f7950a0a36ecc6e35. For LVS round-robin balancing algorithm, you can check http://kb.linuxvirtualitem.org/wiki/Weighted_Round-Robin_Scheduling.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/smallnest/weighted
Keywords:
algortihm
, weight
License: Apache-2.0
Latest release: about 2 years ago
First release: over 4 years ago
Namespace: github.com/smallnest
Dependent packages: 30
Dependent repositories: 32
Stars: 177 on GitHub
Forks: 39 on GitHub
Docker dependents: 8
Docker downloads: 2,722
See more repository details: repos.ecosyste.ms
Last synced: about 2 months ago