WordPress Cloud Design Pattern
2013.6.15 wokamoto
Single Instance
• ひとつのインスタンスに Web サーバ、PHP、MySQL を詰め込む
Multi-Servers & DB Replication
• Web サーバだけでなく、DB サーバ(RDS)も冗長化構成に
Clustered FS Sharing
• WordPress がインストールされている領域を Cluster 化してマウント
Inmemory DB Cache
• Object Cache を Amazon ElastiCache 上に
http://static.example.com/wp-content/uploads/ http://www.example.com/
URL Rewritng + CDN
• 画像ファイルなどの静的ファイルを
CDN ( Amazon CloudFront ) で配信
http://cdn.example.com/wp-content/uploads/ http://www.example.com/
Cached Proxy
• オリジンサーバの前に Revers Proxy
Cache サーバを設置してスケーリング
Profile
• Twitter @wokamoto
• blog http://dogmap.jp/
• http://profiles.wordpress.org/wokamoto/
Thx!
• http://slidesha.re/13ZOTaT