14. PHP
๏ Use an opcode cache ( APC, Zend Opcache )
๏ Use newer versions
๏ Don’t use on static files
๏ Be careful with preg_* functions
๏ Profile your code ( Xdebug,VLD, XHProf )
๏ Don’t re-invent native PHP functions
15. MySQL
๏ Use InnoDB,
unless you have a good reason not to
๏ Use the slow query log
๏ Use EXPLAIN on queries,
learn what the output means
๏ Double Triple check your indexes
๏ Learn about quirks
40. MySQL Replication
Master / Slave
๏ One way, asynchronous
๏Writes to the master
๏ Reads to the slave
๏ Multiple slaves & chaining
41. WordPress + HyperDB
Makes WordPress aware of
MySQL replication
http://wordpress.org/extend/plugins/hyperdb/
42. WordPress + HyperDB
๏ Read & write servers
๏ Priority for reads & writes
๏ Local and remote data centers
๏ Private and public networks
๏ Per table granularity
๏ Smart post-write master reads