Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
The Go Programming Language
›
http://golang.org/
›
Go Playground
Go Projects
›
Revel Web Framework
Advertisement
V2EX
›
Go 编程语言
emm...开源一个 golang 的负载均衡库
sophos
·
Aug 26, 2020
· 2552 views
This topic created in 2070 days ago, the information mentioned may be changed or developed.
抽象了负载均衡的接口
实现了几种负载均衡的算法,比如 wrr,p2c,aperture 等
测试覆盖率 95%+
欢迎有兴趣的朋友提交 pr 支持其他均衡算法的实现 :)
https://github.com/hnlq715/go-loadbalance
均衡
负载
算法
Golang
4 replies
•
2020-08-27 10:08:56 +08:00
1
sun1993
Aug 26, 2020
p2c 没有加入对端 cpu 使用率这个统计项吗?
2
d0m2o08
Aug 27, 2020
已 star ,向大佬学习
3
sophos
OP
Aug 27, 2020
@
sun1993
对 cpu 使用率的统计意义不大,不如直接使用熔断器
4
sophos
OP
Aug 27, 2020
@
d0m2o08
欢迎提 issue 或 pr
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
1127 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 34ms ·
UTC 23:04
·
PVG 07:04
·
LAX 16:04
·
JFK 19:04
♥ Do have faith in what you're doing.
❯