
O'Reilly Velocity Web Performance and Operations http://velocityconf.com/ YSlow Best Practices for Speeding Up Your Web Site 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 |
2 liuhang0077 2012-05-15 03:42:28 +08:00 电信8M 平均值 500ms 左右 最低 353ms 最高 523ms |
3 Livid MOD OP PRO What, total lost? |
4 fanzeyi 2012-05-15 03:43:17 +08:00 优化的话.. 只想到一个方法: 用 js 来替换 gist link 为代码.. 这样至少不会卡住页面. |
5 Livid MOD OP PRO 那么大家 ping 199.91.73.222 是多少呢? |
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 |
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 |
8 liuhang0077 2012-05-15 03:48:46 +08:00 |
9 liuhang0077 2012-05-15 03:50:30 +08:00 在失败就不弄了。。。 git://gist.github.com/2696119.git |
10 liuhang0077 2012-05-15 03:52:08 +08:00 好吧我贼心不死。。。 在实验一条睡觉了。。 <script src="https://gist.github.com/2696119.js"> </script> |
11 fanzeyi 2012-05-15 03:52:17 +08:00 @liuhang0077 %s/https/http |
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 |
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 |
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 |
16 liuhang0077 2012-05-15 03:57:56 +08:00 |
18 Livid MOD OP PRO 话说在美国 gist 嵌入页面是秒开 |
19 Livid MOD OP PRO 刚刚尝试了一下,https 的服务用 nginx 做反向代理会有很多问题 |
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 这是什么情况。。。 |
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 |
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 |
24 muxi 2012-05-15 23:54:07 +08:00 这东西只要一个解析语法库+简单的代码就能完成,或许V2EX可以自己考虑为国内程序员提供一个贴代码交流的地方 |
25 Livid MOD OP PRO @muxi gist 为每一条 gist 提供了 git 版本控制,这是一个亮点,也是比单纯的代码 hosting 加分的地方。 |
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 |
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 |
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 |
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 上海徐汇 电信 |