さくらのVPS 2G、”WordPress on nginx with FastCGI”でApache Bench

nginx,WordPress,さくらのVPS

WordPress 高速化&スマート運用必携ガイド

当ブログは「さくらのVPS 2G」上で、”WordPress on nginx with FastCGI”の環境を構築しています。

現状のサーバ性能を確認するためApache Benchで性能測定してみました。

旧サーバである「さくらのVPS 1.5G」から、現サーバである「さくらのVPS 2G」に向けテストしました。

現状のサーバ設定などは「「さくらのVPS 2G」+ Ubuntuで”WordPress on nginx with FastCGI”環境を構築する – Hinemosu」を参照してください。

$ ab -n 1000 -c 100 -H 'Accept-Encoding: gzip' https://www.hide10.com/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking www.hide10.com (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests


Server Software:        nginx/1.0.15
Server Hostname:        www.hide10.com
Server Port:            80

Document Path:          /
Document Length:        38343 bytes

Concurrency Level:      100
Time taken for tests:   2.766 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      39095748 bytes
HTML transferred:       38694656 bytes
Requests per second:    361.56 [#/sec] (mean)
Time per request:       276.576 [ms] (mean)
Time per request:       2.766 [ms] (mean, across all concurrent requests)
Transfer rate:          13804.31 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       40   44   2.7     43      62
Processing:   180  219  40.6    203     416
Waiting:       97  131  39.5    115     324
Total:        221  263  41.4    247     460

Percentage of the requests served within a certain time (ms)
  50%    247
  66%    259
  75%    271
  80%    281
  90%    320
  95%    361
  98%    391
  99%    415
 100%    460 (longest request)

「Requests per second: 361.56 [#/sec] (mean)」だし、なかなか良いんじゃないですか?