ホスティングしてます – HTC速報

twitter でガジェットクラスタの方達とやりとりしていると、
「WordPressいいね!」「WordPressで独自ドメインでブログしたい」という声をみかけます。
そうした方をサポートしつつ、いくつかホスティングもしています。
その中から、今日はHTC速報についてのエントリーです。


その名の通り、台湾の携帯電話メーカー HTC社の様々な情報のサイトです。
HTC速報という名前ですが、速報記事に限らず、技術的な記事も多いです。
8月の下旬からサイトがオープンして、3ヶ月しない間に結構なPV が出て、今なお増え続けています。

詳しいシステム構成については、別途エントリーしたいと思っていますが、
始めはさくらのVPS 1GB で、PHP5.4 + nginx + MySQLの構成で、
「そこまでPV来るの?」と、特にチューニングすることなく運用していました。
ただ、以前のエントリーした「HTC速報でのWordPress 負荷対応 その1」の事態となり、
「こりゃ、いかんなー」ということで構築し直し、今にいたっています。
現在はさくらのVPS 2GB で、PHP5.4(APC込み) + nginx(リバースプロキシ込み) + MySQLの構成で、
各部チューニングもしつつ、プラグインや CDNなども使って運用しています。
フロント側の運用は、管理人さんに全てお任せしていて、
僕は不要な負荷をかけない設定になっているか、チェックする運用体制ですね。

どこまで伸びるか楽しみなサイトです。

最後にHTC速報(旧)と、HTC速報(新-チューニング前)と、HTC速報(新-チューニング後)のベンチをまとめてみます。
HTC速報(旧)         :Requests per second: 63.84 [#/sec]
HTC速報(新-チューニング前)  :Requests per second: 17.58 [#/sec]
HTC速報(新-チューニング後)  :Requests per second: 455.91 [#/sec]
旧環境に比べて、7.1 倍程度良くなっているはずです。
表示が速くなったのは、体感された方も多かったんじゃないでしょうか。

HTC速報(旧)

$ ab -n 100 -c 100 http://htcsoku.info/
This is ApacheBench, Version 2.3
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking htcsoku.info (be patient)…..done

Server Software: nginx
Server Hostname: htcsoku.info
Server Port: 80

Document Path: /
Document Length: 78194 bytes

Concurrency Level: 100
Time taken for tests: 1.566 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 7846600 bytes
HTML transferred: 7819400 bytes
Requests per second: 63.84 [#/sec] (mean)
Time per request: 1566.480 [ms] (mean)
Time per request: 15.665 [ms] (mean, across all concurrent requests)
Transfer rate: 4891.66 [Kbytes/sec] received

HTC速報(新-チューニング前)

$ab -n 100 -c 100 http://htcsoku.info/
This is ApacheBench, Version 2.3
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking htcsoku.info (be patient)…..done

Server Software: nginx
Server Hostname: htcsoku.info
Server Port: 80

Document Path: /
Document Length: 6702 bytes

Concurrency Level: 100
Time taken for tests: 5.689 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 687800 bytes
HTML transferred: 670200 bytes
Requests per second: 17.58 [#/sec] (mean)
Time per request: 5689.200 [ms] (mean)
Time per request: 56.892 [ms] (mean, across all concurrent requests)
Transfer rate: 118.06 [Kbytes/sec] received

HTC速報(新-チューニング後)

$ ab -n 100 -c 100 http://htcsoku.info/
This is ApacheBench, Version 2.3
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking htcsoku.info (be patient)…..done

Server Software: nginx
Server Hostname: htcsoku.info
Server Port: 80

Document Path: /
Document Length: 74383 bytes

Concurrency Level: 100
Time taken for tests: 0.219 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 7458200 bytes
HTML transferred: 7438300 bytes
Requests per second: 455.91 [#/sec] (mean)
Time per request: 219.343 [ms] (mean)
Time per request: 2.193 [ms] (mean, across all concurrent requests)
Transfer rate: 33205.52 [Kbytes/sec] received

HTC Soku is news site about HTC Corp Products.
This is not only news release but Techniqul Information.

HTC速報(旧)

$ ab -n 100 -c 100 http://htcsoku.info/
This is ApacheBench, Version 2.3
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking htcsoku.info (be patient)…..done

Server Software: nginx
Server Hostname: htcsoku.info
Server Port: 80

Document Path: /
Document Length: 78194 bytes

Concurrency Level: 100
Time taken for tests: 1.566 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 7846600 bytes
HTML transferred: 7819400 bytes
Requests per second: 63.84 [#/sec] (mean)
Time per request: 1566.480 [ms] (mean)
Time per request: 15.665 [ms] (mean, across all concurrent requests)
Transfer rate: 4891.66 [Kbytes/sec] received

HTC速報(新-チューニング前)

$ab -n 100 -c 100 http://htcsoku.info/
This is ApacheBench, Version 2.3
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking htcsoku.info (be patient)…..done

Server Software: nginx
Server Hostname: htcsoku.info
Server Port: 80

Document Path: /
Document Length: 6702 bytes

Concurrency Level: 100
Time taken for tests: 5.689 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 687800 bytes
HTML transferred: 670200 bytes
Requests per second: 17.58 [#/sec] (mean)
Time per request: 5689.200 [ms] (mean)
Time per request: 56.892 [ms] (mean, across all concurrent requests)
Transfer rate: 118.06 [Kbytes/sec] received

HTC速報(新-チューニング後)

$ ab -n 100 -c 100 http://htcsoku.info/
This is ApacheBench, Version 2.3
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking htcsoku.info (be patient)…..done

Server Software: nginx
Server Hostname: htcsoku.info
Server Port: 80

Document Path: /
Document Length: 74383 bytes

Concurrency Level: 100
Time taken for tests: 0.219 seconds
Complete requests: 100
Failed requests: 0
Write errors: 0
Total transferred: 7458200 bytes
HTML transferred: 7438300 bytes
Requests per second: 455.91 [#/sec] (mean)
Time per request: 219.343 [ms] (mean)
Time per request: 2.193 [ms] (mean, across all concurrent requests)
Transfer rate: 33205.52 [Kbytes/sec] received

シェアする

  • このエントリーをはてなブックマークに追加

フォローする