本帖最后由 hundouluo 于 2022-6-25 21:10 编辑
多路竞争在TCP转发中的应用, 多路竞争,自适应单线路丢包,单线路阻断,多线路混合竞争。。。
项目想法还是来源于mjj的讨论。。https://hostloc.com/thread-969397-1-1.html 目前大多数加速都是围绕发多倍包,发多UDP包,那么问题来了,回到问题本身为什么不能多线路混合竞争呢?
先有Golang后有天!
https://github.com/cppla/moto
在电信模式下的混竞效果,如下所示
- {"level":"debug","ts":"2022-06-25 20:59:04.619","msg":"establish connection","ruleName":"智能加速","remoteAddr":"127.0.0.1 [本机地址] :65407","targetAddr":"119.28.51. [香港 腾讯云] :85","decisionTime(ms)":50}
- {"level":"debug","ts":"2022-06-25 20:59:04.619","msg":"establish connection","ruleName":"智能加速","remoteAddr":"127.0.0.1 [本机地址] :65398","targetAddr":"65.52.160. [香港 Microsoft公司] :85","decisionTime(ms)":56}
- {"level":"debug","ts":"2022-06-25 20:59:04.627","msg":"establish connection","ruleName":"智能加速","remoteAddr":"127.0.0.1 [本机地址] :65410","targetAddr":"65.52.160. [香港 Microsoft公司] :85","decisionTime(ms)":58}
- {"level":"debug","ts":"2022-06-25 20:59:04.726","msg":"establish connection","ruleName":"智能加速","remoteAddr":"127.0.0.1 [本机地址] :65424","targetAddr":"119.28.51. [香港 腾讯云] :85","decisionTime(ms)":49}
- {"level":"debug","ts":"2022-06-25 20:59:04.727","msg":"establish connection","ruleName":"智能加速","remoteAddr":"127.0.0.1 [本机地址] :65431","targetAddr":"119.28.51. [香港 腾讯云] :85","decisionTime(ms)":48}
- {"level":"debug","ts":"2022-06-25 20:59:04.728","msg":"establish connection","ruleName":"智能加速","remoteAddr":"127.0.0.1 [本机地址] :65432","targetAddr":"119.28.51. [香港 腾讯云] :85","decisionTime(ms)":49}
- {"level":"debug","ts":"2022-06-25 20:59:04.729","msg":"establish connection","ruleName":"智能加速","remoteAddr":"127.0.0.1 [本机地址] :65442","targetAddr":"119.28.51. [香港 腾讯云] :85","decisionTime(ms)":49}
- {"level":"debug","ts":"2022-06-25 20:59:04.731","msg":"establish connection","ruleName":"智能加速","remoteAddr":"127.0.0.1 [本机地址] :65454","targetAddr":"119.28.51. [香港 腾讯云] :85","decisionTime(ms)":49}
- {"level":"debug","ts":"2022-06-25 20:59:04.758","msg":"establish connection","ruleName":"智能加速","remoteAddr":"127.0.0.1 [本机地址] :65449","targetAddr":"47.241.60. [新加坡 阿里云] :85","decisionTime(ms)":77}
- {"level":"debug","ts":"2022-06-25 20:59:04.904","msg":"establish connection","ruleName":"智能加速","remoteAddr":"127.0.0.1 [本机地址] :65461","targetAddr":"47.241.60. [新加坡 阿里云] :85","decisionTime(ms)":82}
- {"level":"debug","ts":"2022-06-25 20:59:05.630","msg":"establish connection","ruleName":"智能加速","remoteAddr":"127.0.0.1 [本机地址] :65471","targetAddr":"65.52.160. [香港 Microsoft公司] :85","decisionTime(ms)":53}
- {"level":"debug","ts":"2022-06-25 20:59:05.659","msg":"establish connection","ruleName":"智能加速","remoteAddr":"127.0.0.1 [本机地址] :65478","targetAddr":"47.241.60. [新加坡 阿里云] :85","decisionTime(ms)":80}
- {"level":"debug","ts":"2022-06-25 20:59:10.234","msg":"establish connection","ruleName":"智能加速","remoteAddr":"127.0.0.1 [本机地址] :65497","targetAddr":"119.28.51. [香港 腾讯云] :85","decisionTime(ms)":50}
- {"level":"debug","ts":"2022-06-25 20:59:17.212","msg":"establish connection","ruleName":"智能加速","remoteAddr":"127.0.0.1 [本机地址] :65522","targetAddr":"47.241.60. [新加坡 阿里云] :85","decisionTime(ms)":82}
- {"level":"debug","ts":"2022-06-25 20:59:19.251","msg":"establish connection","ruleName":"智能加速","remoteAddr":"127.0.0.1 [本机地址] :65535","targetAddr":"65.52.160. [香港 Microsoft公司] :85","decisionTime(ms)":44}
- {"level":"debug","ts":"2022-06-25 20:59:37.551","msg":"establish connection","ruleName":"智能加速","remoteAddr":"127.0.0.1 [本机地址] :49203","targetAddr":"119.28.51. [香港 腾讯云] :85","decisionTime(ms)":49}
- {"level":"debug","ts":"2022-06-25 20:59:37.892","msg":"establish connection","ruleName":"智能加速","remoteAddr":"127.0.0.1 [本机地址] :49210","targetAddr":"65.52.160. [香港 Microsoft公司] :85","decisionTime(ms)":44}
复制代码
|