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

负载均衡功能,如果后端掉线了是否依然将流量转发过去? #58

Closed
result-bit opened this issue Aug 15, 2021 · 4 comments
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@result-bit
Copy link

如果后端掉线了是否依然将流量转发过去?能否对后端加上一个标记、或者检测?

@Orinda0094
Copy link

我尝试了 负载均衡 隧道出口为2个awshk。
当第一个awshk 关闭ehco 之后。隧道会 时断是续 很不稳定。
希望可以优化一下,我本意上是想当做故障切换来使用的,就结果来看 还不是很行

@Ehco1996 Ehco1996 added the question Further information is requested label Aug 16, 2021
@Ehco1996
Copy link
Owner

@result-bit @Orinda0094

目前的负载只是简单的轮询,如果下游有一台节点离线了,负载依旧会打过去

这里的确可以优化一下

@Ehco1996 Ehco1996 added the help wanted Extra attention is needed label Aug 16, 2021
@Orinda0094
Copy link

坐等大佬优化了

@Ehco1996
Copy link
Owner

Ehco1996 commented Sep 5, 2021

@Orinda0094 最新版本加入了掉线检测,掉线之后会 block 一段时间,可以试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants