Scaling & High End   Hosting for   WordPress   By Liz Quilty
There is no single solution
Work out what You Want and          Need!
SecurityLots of articles exist already, read them!Plug-ins•  WP-Sentinel•  WordPress Sentinel (they are different!)Permiss...
Version Control SystemSet Apache to ignore .svn .git .cvs, etcIgnore files • •       wp-config.php•       wp-content/upload...
Scaling Single server•  NGINX + phpFCGI ?•  Varnish + apache + mod_php•  PHP-APC•  WP-Supercache/W3-total-cache•  Batcache...
Take Media OffsiteVideos - Youtube,VimoFiles - CDN, Flickr, DropBox, S3Comments - IntenseDebate, DiscusThese help save dis...
The Cloud?CostSpaceRedundancyControl - or lack of itOpenstackCloudminControl Panels? What Control Panels!
Scaling MultipleSame as Single .. plus moreDNS Round Robin ?Heartbeat IP Failover ?Separate DB server w/ Replication ?File...
DB ReplicationDatabase:•   Mysql Master/Master replication•   Mysql Master/Slave •  Separate DB server(s)•   HyperDB Plugin
Replication of Files•  Unisen•  rsync•  bitpocket•  DRBD•  Rsync•  Gluster
Controlling serversCFEnginePuppetClusterSSH#!/bin/bashHOSTS="machine1 machine2 machine3 machine4";if [ $1 ];thenfor i in $...
Have a Plan, test it10 Plan20 Test30 Adapt40 Goto 20ImplementDont wait until you have a problem to test it!Monitoring - Ne...
Things to rememberBackup! Backup! Backup!Multiple Sites for redundancyDocumentation in case developer/admin  disappears
Questions?         Questions?
http://www.freesoftwaremagazine.com/articles/easy_file_sync_bitpocket
Liz Quilty – Security, Scaling & High End Hosting for WordPress sites
Liz Quilty – Security, Scaling & High End Hosting for WordPress sites
Upcoming SlideShare
Loading in...5
×

Liz Quilty – Security, Scaling & High End Hosting for WordPress sites

1,721

Published on

Liz Quilty – Security, Scaling & High End Hosting for WordPress sites from WordCampNZ 2012 devs April 22

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,721
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Liz Quilty – Security, Scaling & High End Hosting for WordPress sites"

  1. 1. Scaling & High End Hosting for WordPress By Liz Quilty
  2. 2. There is no single solution
  3. 3. Work out what You Want and Need!
  4. 4. SecurityLots of articles exist already, read them!Plug-ins•  WP-Sentinel•  WordPress Sentinel (they are different!)PermissionsVersion Control - CVS, SVN, GitBackups!
  5. 5. Version Control SystemSet Apache to ignore .svn .git .cvs, etcIgnore files • •  wp-config.php•  wp-content/uploads/ wp-local-config.phpcapistrano for deployDevelop/test on local or Dev machine
  6. 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. 7. Take Media OffsiteVideos - Youtube,VimoFiles - CDN, Flickr, DropBox, S3Comments - IntenseDebate, DiscusThese help save disk & IO, resources
  8. 8. The Cloud?CostSpaceRedundancyControl - or lack of itOpenstackCloudminControl Panels? What Control Panels!
  9. 9. Scaling MultipleSame as Single .. plus moreDNS Round Robin ?Heartbeat IP Failover ?Separate DB server w/ Replication ?File replication ?Controlling multiple servers ?Multiple Layouts - Planning is key!
  10. 10. DB ReplicationDatabase:•  Mysql Master/Master replication•  Mysql Master/Slave •  Separate DB server(s)•  HyperDB Plugin
  11. 11. Replication of Files•  Unisen•  rsync•  bitpocket•  DRBD•  Rsync•  Gluster
  12. 12. Controlling serversCFEnginePuppetClusterSSH#!/bin/bashHOSTS="machine1 machine2 machine3 machine4";if [ $1 ];thenfor i in $HOSTS; do ssh $i "$@"; donefi
  13. 13. Have a Plan, test it10 Plan20 Test30 Adapt40 Goto 20ImplementDont wait until you have a problem to test it!Monitoring - NewRelic, Nagios, etcFailover Plans, like Heartbeat, DNS, etc
  14. 14. Things to rememberBackup! Backup! Backup!Multiple Sites for redundancyDocumentation in case developer/admin disappears
  15. 15. Questions? Questions?
  16. 16. http://www.freesoftwaremagazine.com/articles/easy_file_sync_bitpocket
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×