4. Security
Lots of articles exist already, read them!
Plug-ins
• WP-Sentinel
• WordPress Sentinel (they are different!)
Permissions
Version Control - CVS, SVN, Git
Backups!
5. Version Control System
Set Apache to ignore .svn .git .cvs, etc
Ignore files
•
•
wp-config.php
•
wp-content/uploads/
wp-local-config.php
capistrano for deploy
Develop/test on local or Dev machine
6. Scaling Single server
• NGINX + phpFCGI ?
• Varnish + apache + mod_php
• PHP-APC
• WP-Supercache/W3-total-cache
• Batcache / Memcached
• Enable the WordPress Object Cache
define(ENABLE_CACHE, true);
Watch for PHP-CGI/FCGI memory usage!
7. Take Media Offsite
Videos - Youtube,Vimo
Files - CDN, Flickr, DropBox, S3
Comments - IntenseDebate, Discus
These help save disk & IO, resources
9. Scaling Multiple
Same as Single .. plus more
DNS Round Robin ?
Heartbeat IP Failover ?
Separate DB server w/ Replication ?
File replication ?
Controlling multiple servers ?
Multiple Layouts - Planning is key!
10.
11.
12. DB Replication
Database:
• Mysql Master/Master replication
• Mysql Master/Slave
• Separate DB server(s)
• HyperDB Plugin
15. Have a Plan, test it
10 Plan
20 Test
30 Adapt
40 Goto 20
Implement
Don't wait until you have a problem to test it!
Monitoring - NewRelic, Nagios, etc
Failover Plans, like Heartbeat, DNS, etc
16. Things to remember
Backup! Backup! Backup!
Multiple Sites for redundancy
Documentation in case developer/admin
disappears