-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
balancer future request + fallbacktag problems #3164
Comments
再加个selector吧 再搞个网页面板吧 再搞个分组路由吧 provider也别落下了 以后这里改名Xclash |
@s-kile thanks for your idea. 我思考了一下 确实利用 loopback outbound 已经可以实现 balancer fallback 套娃(虽然略麻烦但是考虑到这是小众需求 我觉得现在这个也还行) |
这个提过 #3114 (comment) ,
|
No other client adds xray exclusive features like mux.cool, so it's not bad to improve xray-core for client |
#3186 (comment) |
最新的main leastping已经支持fallback 我的建议是简化配置 即fallback指向一个稳定节点出站 |
fallback and loopback work great! do you have any plans to add first future? a lot of times random and roundrobin strategy just use non-working outbounds. (and we have to refresh 5 ttimes just to load a page) and now that observatory can measure pings, it would be great if these two strategies use configs that have a ping and are working |
I tried using a balancer as fallback for another balancer (both with leastPing strategy), but it didn't work and logged an error message (something like "outbound not found"). |
No, you can only fallback to outbound. That's why loopback is needed |
1.8.11 and still waiting :_) |
So why not just use leastLoad instead of random or roundrobin? |
You guys are creative. Always do something I can't dream of |
The Iranian GFW makes us jump through hoops :)) |
because random uses lots of outbounds at a time and not just switching every 20sec |
Currently no plan to add more to roundRobin and random. We are open to extend leastLoad. If you have specific idea, please open a separate ticket. Thanks |
balancer should use to configs with ping less than a number (like ping<1000). what is the point of roundrobin or random strategy when configs don't ping!
observatory could test speed of outbounds and balancer can use best of them (like in leastping). just having a good ping doesn't mean the outbound can work well!
my idea for this is downloading a 10 or 5mb file (and not saving it) (the download link can be set in config.json) by outbounds that have a ping less than a number, and measuring the time taken. it takes about 1 min for 5 outbounds. i did this in a fork (a long time ago. and i'm not export enough to add it to this project) and i really felt that xray needs it. the only problem was that it takes a lot of time (but it's worth the time and balancer can use least ping for first 1 or 2 minutes)
fallbacktag falls back to another balancer not just an outbound (like we are having two balancers. and don't want to use second one if the first one is working
idk if this can be done by loopback outbound . i'm waiting for next release to test
@yuhan6665 @hossinasaadi
The text was updated successfully, but these errors were encountered: