Replies: 13 comments 93 replies
-
大部分节点是不支持IPV6,只有部分支持,开了dns有时会影响上网,所以我smartdns关闭了国外IPV6 dns |
Beta Was this translation helpful? Give feedback.
-
开了xray负载均衡,内存使用增加,是正常的吗 |
Beta Was this translation helpful? Give feedback.
-
我想请教下大佬,xray的负载均衡能不能叠加网速,如果能叠加就完美了 |
Beta Was this translation helpful? Give feedback.
-
感觉 leastPing 除非是网络条件基本相同的,比如同一机场同一中转线路至同一运营商,然后IP段差不多,比如就最后不同,16/17/18/19这样的,还能把流量分摊,要不然其实更像是个优选器,让你尽可能的使用延迟低的更稳定的节点上网。感觉用来代替ssr+,passwall这些自己实现的自动切换功能要好,至少切换平滑,无感。而用节点切换功能的话,切换的时候要重新生成配置文件,重启xray进程。虽然到需要切换的时候,外网肯定已经断了。还有一个就是从节点down掉,到成功换用新节点做出口要多长时间,会不会影响到上网体验。感觉这是个关键,是leastPing的一大应用场景。 不过,我觉得V2Ray/Xray 应该是有个兜底的默认路由的,就像mwan3,可以指定策略当分配的成员都不可用时,可以选走默认路由尝试或不可达。一个就是前面说的使用感受,之前用的时候没出现访问网站上不去的情况。还有一个就是前几天修改分流模式下使用负载均衡节点,做测试的时候,单独用小机场的不太稳的节点能通,用另一个2.5倍率的专线节点也能通,但是把它们两个组成负载均衡,用多个网站多次刷新检测IP,始终都是专线节点的IP,这也是我之前怀疑默认策略是选最低延迟的原因。 |
Beta Was this translation helpful? Give feedback.
-
大佬,能否排查下这个问题,当我选择中国列表外默认DNS为"远程"时,连不上网了,选用"直连"就是正常的.如图,127.0.0.1:5335是我smartdns的国外组,按日志看, 以上所列以外及默认:127.0.0.1#5335, 应该是没问题的,就是上不了网,麻烦大佬排查下,谢谢~~ 日志看是正常的
选择中国列表外默认DNS为"远程"时,连不上网了,选用"直连"就是正常的 |
Beta Was this translation helpful? Give feedback.
-
我才发现,模式采用
|
Beta Was this translation helpful? Give feedback.
-
DNS优选的话,我去年尾专门一连测试了好几天,总结出来对大部分地区比较友好的应该就是百度的180.76.76.76,还有阿里云223。腾讯DNSPod的话,目前是不建议,114的话,除非你刚好位于DNS出口同省,否则不要用,而且鉴于以前的名声和干过的事,即使同省也不要用。 上面是比较推荐的,当然具体是否在你本省有出口,还是自己测试过才清楚。然后是腾讯DNSPod,怎么说呢,IPv4出口应该就2个,我测试的时候是广州移动,但是支持ECS,就是有些权威DNS不一定支持ECS,会按照广州给分配最近的IP。IPv6,怎么说,我测试应该是不支持,关键DNSPod是有IPv6的入口 然后DNS的判断,还有个在线率还是什么的,这个需要到有些网站查,反正114的记得是也不怎么地,好像腾讯的在这一项上倒是还可以。 |
Beta Was this translation helpful? Give feedback.
-
可以去看看xray的994号pr,这里我就不引用了。 |
Beta Was this translation helpful? Give feedback.
-
今天使用过程发现了一个问题 使用场景(iptables 21.02op / 中国列表外模式 xray分流-xray负载均衡)pw verson.4月18日 默认节点----jp |
Beta Was this translation helpful? Give feedback.
-
关于Xray 1.88 新加的 |
Beta Was this translation helpful? Give feedback.
-
有类似权重的概念了,主备的话,有个fallback,不知道只能fallback到普通单节点,还是可以fallback到另一个balancer,不过就算只能fallback到普通节点,也可以用 Loopback出站协议实现主备,而且是haproxy不支持的多级主备。 |
Beta Was this translation helpful? Give feedback.
-
@xiaorouji 关于Haproxy负载均衡,刚在跟别人讨论负载均衡这个话题时,突然想到应该可以增加个选项,检测超时时间,由用户自己定义超过多长时间算节点超时,比目前直接固化要灵活些,可以根据自身的使用场景来调整。 当然,我没怎么用过Haproxy的均衡,不清楚用Haproxy均衡的用户是否有这个需求。如果我用来均衡的节点平均延迟不超过400ms的话,会希望在节点延迟超过800ms或者1s时,就不再用它。 |
Beta Was this translation helpful? Give feedback.
-
xray核心的负载均衡能够选择sing-box核心下的hy2节点,这是怎么做到的呢? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
All reactions