今天的 Facebook 慢到爆炸,看起來像是台灣機房的問題,這邊先提供 workaround:
把 DNS 改用 8.8.8.8,看起來 DNS 會解去洛杉磯的機房,速度就會正常多了。
接下來列出看到的結果,靜態的頁面 (拿 /robots.txt
測試) 沒問題:
Server Software:
Server Hostname: www.facebook.com
Server Port: 443
SSL/TLS Protocol: TLSv1.2,ECDHE-ECDSA-AES128-GCM-SHA256,256,128
Document Path: /robots.txt
Document Length: 4159 bytes
Concurrency Level: 1
Time taken for tests: 0.792 seconds
Complete requests: 20
Failed requests: 0
Total transferred: 99000 bytes
HTML transferred: 83180 bytes
Requests per second: 25.24 [#/sec] (mean)
Time per request: 39.612 [ms] (mean)
Time per request: 39.612 [ms] (mean, across all concurrent requests)
Transfer rate: 122.03 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 28 30 0.6 30 31
Processing: 9 10 0.3 10 10
Waiting: 9 9 0.2 9 10
Total: 38 39 0.7 39 41
Percentage of the requests served within a certain time (ms)
50% 39
66% 40
75% 40
80% 40
90% 40
95% 41
98% 41
99% 41
100% 41 (longest request)
但動態的頁面就慢到炸:
Server Software:
Server Hostname: www.facebook.com
Server Port: 443
SSL/TLS Protocol: TLSv1.2,ECDHE-ECDSA-AES128-GCM-SHA256,256,128
Document Path: /
Document Length: 0 bytes
Concurrency Level: 1
Time taken for tests: 20.294 seconds
Complete requests: 20
Failed requests: 0
Non-2xx responses: 20
Total transferred: 6700 bytes
HTML transferred: 0 bytes
Requests per second: 0.99 [#/sec] (mean)
Time per request: 1014.690 [ms] (mean)
Time per request: 1014.690 [ms] (mean, across all concurrent requests)
Transfer rate: 0.32 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 28 30 0.9 29 32
Processing: 151 985 1144.5 567 4939
Waiting: 151 985 1144.5 567 4938
Total: 180 1014 1145.1 597 4971
WARNING: The median and mean for the initial connection time are not within a normal deviation
These results are probably not that reliable.
Percentage of the requests served within a certain time (ms)
50% 597
66% 1226
75% 1279
80% 1667
90% 2267
95% 4971
98% 4971
99% 4971
100% 4971 (longest request)