V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
gitChimera
V2EX  ›  问与答

不是很理解使用代理 httping 和直接 httping 的结果

  •  
  •   gitChimera · 2018-06-25 01:28:55 +08:00 · 1123 次点击
    这是一个创建于 2130 天前的主题,其中的信息可能已经有所发展或是发生改变。

    direct httping

    connected to 220.181.57.216:80 (304 bytes), seq=0 time= 69.11 ms
    connected to 123.125.115.110:80 (304 bytes), seq=1 time= 61.52 ms
    connected to 123.125.115.110:80 (304 bytes), seq=2 time= 61.16 ms
    

    localhost:8123(use polipo)

    connected to baidu.com:80 (313 bytes), seq=0 time=  0.23 ms 
    connected to baidu.com:80 (313 bytes), seq=1 time=  0.18 ms
    connected to baidu.com:80 (313 bytes), seq=2 time=  0.42 ms
    

    后者代理 ping 为什么这么低呢,难道是指从 polipo 到终端的 time 吗?

    4 条回复    2018-06-25 08:20:40 +08:00
    ysc3839
        1
    ysc3839  
       2018-06-25 05:35:30 +08:00 via Android
    可能是有缓存?
    Cipool
        2
    Cipool  
       2018-06-25 07:14:12 +08:00 via Android   ❤️ 1
    你用代理的话 ping 的是本地网关 不信你 ping
    127.0.0.1 延迟也是这样
    weyou
        3
    weyou  
       2018-06-25 07:56:33 +08:00 via Android
    这个 httping 可能只是计算三次握手的时间吧,那跟 tcping 没两样了
    scmod
        4
    scmod  
       2018-06-25 08:20:40 +08:00
    要不 tracert 之类的看下?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1235 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 18:08 · PVG 02:08 · LAX 11:08 · JFK 14:08
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.