Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

负载均衡不是很均衡 #31

Closed
Ehco1996 opened this issue Jan 13, 2021 · 6 comments
Closed

负载均衡不是很均衡 #31

Ehco1996 opened this issue Jan 13, 2021 · 6 comments

Comments

@Ehco1996
Copy link
Owner

换一下算法

@Num0
Copy link

Num0 commented Feb 9, 2021

请问lb_remotes模式下设几个节点是最适宜的?
我自己尝试了2个节点负载均衡还正常的,但设置4个节点负载均衡的话就会莫名其妙卡住,每个节点都没问题的

@Ehco1996
Copy link
Owner Author

Ehco1996 commented Feb 9, 2021

@Num0 的确有点问题,目前在重构了,下面几个版本会修掉的

@Ehco1996
Copy link
Owner Author

@Num0 新的版本应该已经修复了,可以试试

@Num0
Copy link

Num0 commented Feb 15, 2021

@Num0 新的版本应该已经修复了,可以试试

测试了一下,没发现什么问题。感谢您提供了这么好用的工具,祝新春快乐

@Ehco1996
Copy link
Owner Author

reopen

@Ehco1996 Ehco1996 reopened this Apr 30, 2021
Ehco1996 added a commit that referenced this issue May 5, 2021
@Ehco1996
Copy link
Owner Author

Ehco1996 commented May 7, 2021

考虑用round-robin 实现一下

Ehco1996 added a commit that referenced this issue May 7, 2021
Ehco1996 added a commit that referenced this issue May 7, 2021
* refine: refine smux conn

* add cancel in copybuffer

* use round_robin as lb algorithm #31 #40
@Ehco1996 Ehco1996 closed this as completed May 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants