Wordcamp New Zealand – Scaling Servers

 On the 22nd of April, I (Liz) was lucky enough to be able to speak on scaling WordPress and servers at the New Zealand WordCamp.

The people there were great, and i ended up meeting and talking to many fascinating people about all sorts of code, servers, set ups among other things.
I was a little nervous that i only had 30 minutes to fit in a lot of information, and i had to dumb it down a fair bit for those with less technical knowledge to make it understandable.

I did manage to fit the talk in with no problems at all, it only took 45 mins, plus question time! Nobody seemed to notice the missing 15 minutes from their clocks luckily, and everyone appeared to understand and have great questions about how it worked.

Because scaling is really specific, the hardest part i came up against was really trying to describe something, and explain something, in a way that was non-specific. Anyone who knows servers, knows that there is no one solution to suit everyone. How ever there are a few common areas you can usually look into.

For WordPress one of the bet things you can do is deactivate and DELETE any unused plugins or themes. Get a developer to check them, a broken one can take down your entire server easily! Not deleting them leaves a potential security hole should that plugin be discontinued, those files are still accessible via the web remember!

A few things identified were setting up things like a Cache (or Cache Plugin), enabling the wordpress object cache in wp-config, and moving as many things offsite as possible.
By moving things offsite, i mean things like video content, photos, music etc.
Why spend hours of your time setting up a shockwave/html5 video player, converters, and using disk space to play video when you can just use youtube? This is what they do for a living, they have extensive programmers who specialize in this, so it stands to reason they are very good at it, and it will save you a lot of money and time. The same method works for Photography, Music, or any other large files if you can do it. It will save you a lot of pain and money later on down the track.

Another key thing for scaling a single server larger is setting up HyperDB, then having 2 separate databases on other servers. This offloads database offsite, but without the difficulty of having to setup MySQL replication.

If you are using WordPress and want to know more, check here for your nearest WordCamp http://central.wordcamp.org/

This entry was posted in Rimuhosting and tagged , , , . Bookmark the permalink.

One Response to Wordcamp New Zealand – Scaling Servers

  1. Peter Bryant says:

    Great stuff, Ms. Wordcamp. Good post