如何创建多个基于leastLoad的负载均衡?leastLoad的settings该填什么? #3735
Unanswered
Benjamin1919
asked this question in
Q&A
Replies: 1 comment
-
leastLoad 的 settings 配置涉及到加权平均,方差那些数学概念。具体数值还要根据服务器实际测出来的 ping 值来定。所以没把那些配置项写到手册里面。很不负责任说,只能自己看代码。 相关配置项在: Xray-core/app/router/config.proto Lines 143 to 154 in 8674ed5 还有个相关的讨论:#2999 (comment) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
假设我有A、B、C、D四个节点,我希望A与B通过负载均衡测出连接性最好的节点 用于连接谷歌,C与D通过负载均衡测出连接性最好的节点 用于连接苹果。
请帮忙看一下这样写配置是否有误:
另外问一下leastLoad模式下的"settings": {}可以有哪些设置参数?目前官网对于这一项也没有详细的解释:https://xtls.github.io/config/routing.html#strategysettingsobject
Beta Was this translation helpful? Give feedback.
All reactions