Liz Quilty – Security, Scaling & High End Hosting for WordPress sites
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

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

on

  • 1,929 views

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

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

Statistics

Views

Total Views
1,929
Views on SlideShare
1,929
Embed Views
0

Actions

Likes
0
Downloads
5
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

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

  • 1. Scaling & High End Hosting for WordPress By Liz Quilty
  • 2. There is no single solution
  • 3. Work out what You Want and Need!
  • 4. SecurityLots of articles exist already, read them!Plug-ins•  WP-Sentinel•  WordPress Sentinel (they are different!)PermissionsVersion Control - CVS, SVN, GitBackups!
  • 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. 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 OffsiteVideos - Youtube,VimoFiles - CDN, Flickr, DropBox, S3Comments - IntenseDebate, DiscusThese help save disk & IO, resources
  • 8. The Cloud?CostSpaceRedundancyControl - or lack of itOpenstackCloudminControl Panels? What Control Panels!
  • 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. DB ReplicationDatabase:•  Mysql Master/Master replication•  Mysql Master/Slave •  Separate DB server(s)•  HyperDB Plugin
  • 11. Replication of Files•  Unisen•  rsync•  bitpocket•  DRBD•  Rsync•  Gluster
  • 12. Controlling serversCFEnginePuppetClusterSSH#!/bin/bashHOSTS="machine1 machine2 machine3 machine4";if [ $1 ];thenfor i in $HOSTS; do ssh $i "$@"; donefi
  • 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. Things to rememberBackup! Backup! Backup!Multiple Sites for redundancyDocumentation in case developer/admin disappears
  • 15. Questions? Questions?
  • 16. http://www.freesoftwaremagazine.com/articles/easy_file_sync_bitpocket