我有一個線上購物網站,我使用 WordPress、WooCommerce 和 W3 Total Cache。
我做AB:
ab -l -r -n 600 -c 30 -k -H "Accept-Encoding: gzip, deflate"
我得到以下結果:
Server Software: LiteSpeed
Server Hostname: *******************
Server Port: 80
Document Path: /
Document Length: Variable
Concurrency Level: 30
Time taken for tests: 31.311 seconds
Complete requests: 600
Failed requests: 0
Keep-Alive requests: 0
Total transferred: 6349627 bytes
HTML transferred: 6210786 bytes
Requests per second: 19.16 [#/sec] (mean)
Time per request: 1565.550 [ms] (mean)
Time per request: 52.185 [ms] (mean, across all concurrent requests)
Transfer rate: 198.04 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 167 389 272.8 346 3408
Processing: 234 1057 1371.0 442 12508
Waiting: 195 495 482.7 386 4968
Total: 405 1446 1394.5 851 12808
Percentage of the requests served within a certain time (ms)
50% 851
66% 992
75% 1664
80% 2421
90% 3442
95% 4078
98% 6122
99% 6766
100% 12808 (longest request)
看起來沒問題,但問題是每天20/30次我得到一個請求超時錯誤,有時我會收到其他錯誤。我聯絡了主辦方,他們總是說沒問題。我很困惑。我只想問...我的測驗有問題嗎?謝謝...