サイトの応答性が向上 / Site performance increased

Webサーバーの設定を見直し、多少は応答性が良くなりました。

  1. Webサーバーで未使用のサービスを停止し、メモリの空きを増やし、CPU使用率を下げる。
    Webサイト閲覧時の体感速度は変わらない。
  2. オライリー本”ハイパフォーマンスWebサイト”の、「パフォーマンスの高いウェブサイト構築のための14のルール」を参考に、Webサーバー, Webページ, ロードする各コンポーネントを調整。
    全体で1.2倍高速に。
  3. MySQLのキャッシュを調整(MySQL Tunerを利用)。
    動的ページ生成が、1.1倍高速に。
    全体としては体感できるほどの差は出ていません。
  4. APC(Alternative PHP Cache)の導入。
    動的ページ生成が、1.6倍高速に。
    全体としては、1.3倍高速に。
  5. WP Super Cacheを導入し、動的ページをキャッシュするようにした。
    HTML読み込みが10~50倍前後高速に。
    全体としては、1.5~3倍高速に。

全てあわせて、2~4倍程度の高速化となりました。


Reconfigure web server settings, site performance increased.

  1. Stop non-used services on web server, to increase free memory and decrease CPU load.
    No noticeable changes to site performance.
  2. Read O'Reilly book "High Performance Web Sites, 1st Edition".
    Then configure web server, web pages and loading components based on the rule "14 Steps to Faster-Loading Web Sites".
    1.2x overall performance increase.
  3. Configure MySQL cache settings by using "MySQL Tuner".
    1.1x faster to generate dynamic pages.
    No noticeable changes to overall performance.
  4. Using APC (Alternative PHP Cache).
    1.6x faster to generate dynamic pages.
    1.3x overall performance increase.
  5. Install "WP Super Cache" to cache dynamic pages.
    10-50x faster to read HTML (cached dynamic page).
    1.5-3x overall performance increase.

Total performance increase is 2-4x.[1]

更新情報

2014.4.14
HTMLタグの記述間違いを修正。

脚注

  1. Due to DNS lookup, server location and any reasons based on oversea access, site performance may not so increased. []

著者

西尾 健(にしお たけし)
石川県金沢市在住の素人フォトグラファー。
ダメ人間で写真が好き。フィルムの魅力に引き込まれ、フィルムで撮り続ける日々。
このWebサイトでは、主に自分用のメモと記録を、写真と文を交えて記事にしています。

コメントを残す

*印の項目は必ず入力して下さい。