27. Shared Hosting
• Run the latest version of WordPress (easy)
• http://wordpress.org/hosting/
28. Shared Hosting
• Run the latest version of WordPress (easy)
• http://wordpress.org/hosting/
• Plugins and Themes directory - http://
wordpress.org/extend/
36. VPS
• Virtual Private Server
• Between shared and dedicated
• Specific resources allocated to you (good
and bad)
37. VPS
• Virtual Private Server
• Between shared and dedicated
• Specific resources allocated to you (good
and bad)
• Usually have shell “root” access
38. VPS
• Virtual Private Server
• Between shared and dedicated
• Specific resources allocated to you (good
and bad)
• Usually have shell “root” access
• $20 - $50 / month
45. Apache + mod_php
1 request requiring php
• Using mod_php, php
is loaded for every
request even if not
needed
• Most scaling
problems are because
of this
59. 2 Servers
• Relatively easy to implement
• 1 web server, 1 database server
• Web + database on each
60. 2 Servers
• Relatively easy to implement
• 1 web server, 1 database server
• Web + database on each
• Isolated resources
61. 2 Servers
• Relatively easy to implement
• 1 web server, 1 database server
• Web + database on each
• Isolated resources
• Same as single server from an application
perspective but now you have to worry
about network bottlenecks
70. Server Farm
• Load Balancer - nginx
• Web Server - nginx
• PHP - php-fpm (now an official PHP
project!)
71. Server Farm
• Load Balancer - nginx
• Web Server - nginx
• PHP - php-fpm (now an official PHP
project!)
• Database - Basic MySQL replication, leave
all the complicated stuff to HyperDB.
78. Scaling Tips
• Most (all) things you do to scale WordPress
apply to any web app
79. Scaling Tips
• Most (all) things you do to scale WordPress
apply to any web app
• If your bottleneck is the database,
something is wrong
80. Scaling Tips
• Most (all) things you do to scale WordPress
apply to any web app
• If your bottleneck is the database,
something is wrong
• Measure twice, cut once, measure again
81. Scaling Tips
• Most (all) things you do to scale WordPress
apply to any web app
• If your bottleneck is the database,
something is wrong
• Measure twice, cut once, measure again
• Don’t optimize if you don’t need to