haproxy负载均衡的问题
#2420
Replies: 3 comments 29 replies
-
我在网上找了段haproxy检测的相关代码,照着加了下,跑不起来,大佬看能有办法不 @xiaorouji @nftbty
|
Beta Was this translation helpful? Give feedback.
2 replies
-
这里悄悄透露一下,我这边已经实现了。无协议限制,节点的配置参数可以不一致均可实现可用性测试。 |
Beta Was this translation helpful? Give feedback.
16 replies
-
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
升级了最新版 c72d767
对haproxy测试发现两个问题:
1. 对下图类型的节点,负载均衡上不了网.虽然可以采用Socks进行负载均衡,但是haproxy健康检测基本废了.
2. 对于haproxy的健康检查,不知道采用何种机制,并不能真实反映服务器连接状况.
如下图,实际服务器已经断了.但haproxy检测还是正常的.建议能采用类似
https://www.google.com/generate_20
这种检测服务器真实连接情况的方式.Beta Was this translation helpful? Give feedback.
All reactions