gitChimera
V2EX  ›  问与答

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

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