proxy.golang.org : github.com/golib/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
- codemeta.json
purl: pkg:golang/github.com/golib/weighted
License: Apache-2.0
Latest release: 9 months ago
First release: almost 6 years ago
Namespace: github.com/golib
Stars: 0 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: about 1 month ago