V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
gitChimera
V2EX  ›  问与答

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

  •  
  •   gitChimera · Jun 25, 2018 · 1525 views
    This topic created in 2868 days ago, the information mentioned may be changed or developed.

    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 replies    2018-06-25 08:20:40 +08:00
    ysc3839
        1
    ysc3839  
       Jun 25, 2018 via Android
    可能是有缓存?
    Cipool
        2
    Cipool  
       Jun 25, 2018 via Android   ❤️ 1
    你用代理的话 ping 的是本地网关 不信你 ping
    127.0.0.1 延迟也是这样
    weyou
        3
    weyou  
       Jun 25, 2018 via Android
    这个 httping 可能只是计算三次握手的时间吧,那跟 tcping 没两样了
    scmod
        4
    scmod  
       Jun 25, 2018
    要不 tracert 之类的看下?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2134 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 00:48 · PVG 08:48 · LAX 17:48 · JFK 20:48
    ♥ Do have faith in what you're doing.