大家在国内 ping gist.github.com 的延迟是多少? - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Velocity Beijing 2015
O'Reilly Velocity
Web Performance and Operations
http://velocityconf.com/
YSlow
Best Practices for Speeding Up Your Web Site
Livid
179.91D
584.39D
V2EX    Velocity

大家在国内 ping gist.github.com 的延迟是多少?

  •  
  •   Livid
    PRO
    2012-05-15 03:40:07 +08:00 9306 次点击
    这是一个创建于 4949 天前的主题,其中的信息可能已经有所发展或是发生改变。
    貌似这个东西在国内打开很慢,如果嵌入到 V2EX 的主题中的话,把页面都会卡住很长时间。

    或许可以用什么办法优化一下。
    30 条回复    1970-01-01 08:00:00 +08:00
    fanzeyi
        1
    fanzeyi  
       2012-05-15 03:41:40 +08:00
    $ sudo ping -fqc 1000 gist.github.com
    パスワド:
    PING gist.github.com (207.97.227.243) 56(84) bytes of data.

    --- gist.github.com ping statistics ---
    1000 packets transmitted, 916 received, 8% packet loss, time 13447ms
    rtt min/avg/max/mdev = 277.185/278.679/291.369/0.997 ms, pipe 22, ipg/ewma 13.460/278.246 ms
    liuhang0077
        2
    liuhang0077  
       2012-05-15 03:42:28 +08:00
    电信8M 平均值 500ms 左右 最低 353ms 最高 523ms
    Livid
        3
    Livid  
    MOD
    OP
    PRO
       2012-05-15 03:42:28 +08:00
    What, total lost?
    fanzeyi
        4
    fanzeyi  
       2012-05-15 03:43:17 +08:00
    优化的话.. 只想到一个方法: 用 js 来替换 gist link 为代码.. 这样至少不会卡住页面.
    Livid
        5
    Livid  
    MOD
    OP
    PRO
       2012-05-15 03:43:49 +08:00
    那么大家 ping 199.91.73.222 是多少呢?
    013231
        6
    013231  
       2012-05-15 03:44:21 +08:00

    --- gist.github.com ping statistics ---
    20 packets transmitted, 20 packets received, 0.0% packet loss
    round-trip min/avg/max/stddev = 246.697/247.229/247.939/0.419 ms
    fanzeyi
        7
    fanzeyi  
       2012-05-15 03:44:39 +08:00
    --- 199.91.73.222 ping statistics ---
    1000 packets transmitted, 1000 received, 0% packet loss, time 13552ms
    rtt min/avg/max/mdev = 177.120/178.340/218.978/2.375 ms, pipe 17, ipg/ewma 13.565/178.205 ms
    liuhang0077
        8
    liuhang0077  
       2012-05-15 03:48:46 +08:00
    测试一下好了。
    https://gist.github.com/2696119
    liuhang0077
        9
    liuhang0077  
       2012-05-15 03:50:30 +08:00
    在失败就不弄了。。。
    git://gist.github.com/2696119.git
    liuhang0077
        10
    liuhang0077  
       2012-05-15 03:52:08 +08:00
    好吧我贼心不死。。。 在实验一条睡觉了。。
    <script src="https://gist.github.com/2696119.js"> </script>
    fanzeyi
        11
    fanzeyi  
       2012-05-15 03:52:17 +08:00
    @liuhang0077 %s/https/http
    fanzeyi
        12
    fanzeyi  
       2012-05-15 03:54:45 +08:00
    刚刚发现.. 似乎 PB3 的 Gist 没有 PB2 样式优化了, 是忘记了还是故意去掉了? @Livid

    https://github.com/livid/v2ex/blob/master/static/css/desktop/style.css#L714
    turing
        13
    turing  
       2012-05-15 03:55:42 +08:00
    PING gist.github.com (207.97.227.243): 56 data bytes
    64 bytes from 207.97.227.243: icmp_seq=0 ttl=42 time=226.824 ms
    64 bytes from 207.97.227.243: icmp_seq=1 ttl=42 time=228.088 ms
    64 bytes from 207.97.227.243: icmp_seq=2 ttl=42 time=226.749 ms
    64 bytes from 207.97.227.243: icmp_seq=3 ttl=42 time=227.400 ms
    64 bytes from 207.97.227.243: icmp_seq=4 ttl=42 time=226.742 ms

    --- gist.github.com ping statistics ---
    5 packets transmitted, 5 packets received, 0.0% packet loss
    round-trip min/avg/max/stddev = 226.742/227.161/228.088/0.524 ms
    arno
        14
    arno  
       2012-05-15 03:56:28 +08:00
    @livid 我也买了一个linode 不过怎么设置LAMP啊 我想一个空间可以分给几个站用?~
    turing
        15
    turing  
       2012-05-15 03:56:54 +08:00
    PING 199.91.73.222 (199.91.73.222): 56 data bytes
    64 bytes from 199.91.73.222: icmp_seq=0 ttl=46 time=171.840 ms
    64 bytes from 199.91.73.222: icmp_seq=1 ttl=46 time=171.701 ms
    64 bytes from 199.91.73.222: icmp_seq=2 ttl=46 time=171.573 ms
    64 bytes from 199.91.73.222: icmp_seq=3 ttl=46 time=171.505 ms
    64 bytes from 199.91.73.222: icmp_seq=4 ttl=46 time=171.680 ms

    --- 199.91.73.222 ping statistics ---
    5 packets transmitted, 5 packets received, 0.0% packet loss
    round-trip min/avg/max/stddev = 171.505/171.660/171.840/0.115 ms
    liuhang0077
        16
    liuhang0077  
       2012-05-15 03:57:56 +08:00
    @fanzeyi 原来不加s就好了。。。 在测试下
    http://gist.github.com/2696119
    Livid
        17
    Livid  
    MOD
    OP
    PRO
       2012-05-15 04:53:42 +08:00
    @fanzeyi 是还没来得及加入。

    现在加。
    Livid
        18
    Livid  
    MOD
    OP
    PRO
       2012-05-15 04:54:12 +08:00
    话说在美国 gist 嵌入页面是秒开
    Livid
        19
    Livid  
    MOD
    OP
    PRO
       2012-05-15 05:32:56 +08:00
    刚刚尝试了一下,https 的服务用 nginx 做反向代理会有很多问题
    Livid
        20
    Livid  
    MOD
    OP
    PRO
       2012-05-15 05:40:24 +08:00
    @fanzeyi Added in.
    pizzame
        21
    pizzame  
       2012-05-15 22:58:10 +08:00
    PING gist.github.com (207.97.227.243): 56 data bytes
    Request timeout for icmp_seq 0
    Request timeout for icmp_seq 1
    Request timeout for icmp_seq 2
    Request timeout for icmp_seq 3
    Request timeout for icmp_seq 4
    ^C
    --- gist.github.com ping statistics ---
    5 packets transmitted, 0 packets received, 100.0% packet loss

    这是什么情况。。。
    loading
        22
    loading  
       2012-05-15 23:04:20 +08:00
    广东电信3g
    正在 Ping 199.91.73.222 具有 32 字节的数据:
    来自 199.91.73.222 的回复: 字节=32 时间=939ms TTL=52
    来自 199.91.73.222 的回复: 字节=32 时间=244ms TTL=52
    来自 199.91.73.222 的回复: 字节=32 时间=271ms TTL=52
    来自 199.91.73.222 的回复: 字节=32 时间=244ms TTL=52

    199.91.73.222 的 Ping 统计信息:
    数据包: 已发送 = 4,已接收 = 4,丢失 = 0 (0% 丢失),
    往返行程的估计时间(以毫秒为单位):
    最短 = 244ms,最长 = 939ms,平均 = 424ms
    shao
        23
    shao  
       2012-05-15 23:06:37 +08:00
    魔都

    shao-mbp:~ shao$ ping gist.github.com
    PING gist.github.com (207.97.227.243): 56 data bytes
    64 bytes from 207.97.227.243: icmp_seq=0 ttl=50 time=424.614 ms
    64 bytes from 207.97.227.243: icmp_seq=1 ttl=50 time=361.126 ms
    64 bytes from 207.97.227.243: icmp_seq=2 ttl=50 time=354.662 ms
    64 bytes from 207.97.227.243: icmp_seq=3 ttl=50 time=492.942 ms
    64 bytes from 207.97.227.243: icmp_seq=4 ttl=50 time=413.212 ms
    64 bytes from 207.97.227.243: icmp_seq=5 ttl=50 time=365.670 ms
    64 bytes from 207.97.227.243: icmp_seq=6 ttl=50 time=353.903 ms

    PING 199.91.73.222 (199.91.73.222): 56 data bytes
    64 bytes from 199.91.73.222: icmp_seq=0 ttl=51 time=152.350 ms
    64 bytes from 199.91.73.222: icmp_seq=1 ttl=51 time=155.975 ms
    64 bytes from 199.91.73.222: icmp_seq=2 ttl=51 time=155.403 ms
    64 bytes from 199.91.73.222: icmp_seq=3 ttl=51 time=153.589 ms
    64 bytes from 199.91.73.222: icmp_seq=4 ttl=51 time=151.952 ms
    64 bytes from 199.91.73.222: icmp_seq=5 ttl=51 time=156.081 ms
    64 bytes from 199.91.73.222: icmp_seq=6 ttl=51 time=155.500 ms
    muxi
        24
    muxi  
       2012-05-15 23:54:07 +08:00
    这东西只要一个解析语法库+简单的代码就能完成,或许V2EX可以自己考虑为国内程序员提供一个贴代码交流的地方
    Livid
        25
    Livid  
    MOD
    OP
    PRO
       2012-05-16 00:17:26 +08:00
    @muxi gist 为每一条 gist 提供了 git 版本控制,这是一个亮点,也是比单纯的代码 hosting 加分的地方。
    mimzy
        26
    mimzy  
       2012-05-16 00:50:03 +08:00
    武汉电信 4M
    正在 Ping gist.github.com [207.97.227.243] 具有 32 字节的数据:
    来自 207.97.227.243 的回复: 字节=32 时间=324ms TTL=47
    来自 207.97.227.243 的回复: 字节=32 时间=330ms TTL=47
    来自 207.97.227.243 的回复: 字节=32 时间=319ms TTL=47
    来自 207.97.227.243 的回复: 字节=32 时间=335ms TTL=47

    207.97.227.243 的 Ping 统计信息:
    数据包: 已发送 = 4,已接收 = 4,丢失 = 0 (0% 丢失),
    往返行程的估计时间(以毫秒为单位):
    最短 = 319ms,最长 = 335ms,平均 = 327ms

    正在 Ping 199.91.73.222 具有 32 字节的数据:
    来自 199.91.73.222 的回复: 字节=32 时间=194ms TTL=51
    来自 199.91.73.222 的回复: 字节=32 时间=236ms TTL=51
    来自 199.91.73.222 的回复: 字节=32 时间=223ms TTL=51
    来自 199.91.73.222 的回复: 字节=32 时间=217ms TTL=51

    199.91.73.222 的 Ping 统计信息:
    数据包: 已发送 = 4,已接收 = 4,丢失 = 0 (0% 丢失),
    往返行程的估计时间(以毫秒为单位):
    最短 = 194ms,最长 = 236ms,平均 = 217ms
    muxi
        27
    muxi  
       2012-05-16 14:23:21 +08:00
    @Livid 哦,我这边速度还可以,就怕哪天墙了。
    flypen
        28
    flypen  
       2012-05-16 17:19:53 +08:00
    Pinging gist.github.com [207.97.227.243] with 32 bytes of data:
    Reply from 207.97.227.243: bytes=32 time=306ms TTL=42
    Reply from 207.97.227.243: bytes=32 time=342ms TTL=42
    Reply from 207.97.227.243: bytes=32 time=326ms TTL=42
    Reply from 207.97.227.243: bytes=32 time=300ms TTL=42
    Julyyq
        29
    Julyyq  
       2012-05-16 17:23:43 +08:00
    上海静安,电信:
    正在 Ping gist.github.com [207.97.227.243] 具有 32 字节的数据:
    来自 207.97.227.243 的回复: 字节=32 时间=266ms TTL=45
    来自 207.97.227.243 的回复: 字节=32 时间=265ms TTL=45
    来自 207.97.227.243 的回复: 字节=32 时间=267ms TTL=45
    来自 207.97.227.243 的回复: 字节=32 时间=269ms TTL=45

    207.97.227.243 的 Ping 统计信息:
    数据包: 已发送 = 4,已接收 = 4,丢失 = 0 (0% 丢失),
    往返行程的估计时间(以毫秒为单位):
    最短 = 265ms,最长 = 269ms,平均 = 266ms
    abbatuu
        30
    abbatuu  
       2012-05-17 09:27:24 +08:00
    PING gist.github.com (207.97.227.243) 56(84) bytes of data.
    64 bytes from gist.github.com (207.97.227.243): icmp_req=1 ttl=45 time=319 ms
    64 bytes from gist.github.com (207.97.227.243): icmp_req=2 ttl=45 time=316 ms
    64 bytes from gist.github.com (207.97.227.243): icmp_req=3 ttl=45 time=318 ms
    64 bytes from gist.github.com (207.97.227.243): icmp_req=4 ttl=45 time=318 ms
    64 bytes from gist.github.com (207.97.227.243): icmp_req=5 ttl=45 time=320 ms
    64 bytes from gist.github.com (207.97.227.243): icmp_req=6 ttl=45 time=317 ms
    64 bytes from gist.github.com (207.97.227.243): icmp_req=7 ttl=45 time=380 ms
    64 bytes from gist.github.com (207.97.227.243): icmp_req=8 ttl=45 time=321 ms
    上海徐汇 电信
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     4027 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 86ms UTC 05:23 PVG 13:23 LAX 21:23 JFK 00:23
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86