Episode 3: WordPress Performance Tuning with Gary Pendergast

That’s show number 3 under the belt for us and a big thank you to Gary Pendergast from Automattic (they’re hiring :) ).

After watching this episode you’ll have loads of information about how you can improve WordPress performance on your hosting environment of choice. Gary covers everything from simple tips like caching plugins and CDNs that anyone can do right through to complex scaling tips like multi-server and sharding!

Show Notes

Web Servers

Caching – WP Super Cache & APC

  • WP Super Cache.

  • Opcode cache – APC – Gary explains the differences between non opcode cache and opcode.

CDN

MySQL

  • MySQL vs MariaDB vs  Percona.
  • Storage engines and indexation. What are the differences between MyISAM and InnoDB?

  • Should someone write a plugin to set all the tables to InnoDB in WP and put it in the repo or are their risks?

  • Why doesn’t core update to create InnoDB?

  • Gary’s Pro Tip: innodb_buffer_pool_size. Set this to 40% RAM if your database and web server are on the same server or 80% RAM if DB on own server.  You can set this is my.cnf.

  • Gary’s Pro Tip: Set both query_cache_size and query_cache_type to 0.

Multi Server – HyperDB

  • Multi Server comes into play when it’s time to stop scaling up (more CPUs and more RAM) and time to start scaling out (Multiple servers and Multiple databases).
  • Object Cache – Memcached.
  • Batcache – No need for WP Super Cache.
  • Varnish – trickier to get up and running than Batcache but offers further performance benefits.
  • How do you tackle  setting up multi server from the start?

  • Replication:
    • Master -> Slaves
    • Master -> Master
  • Sharding.

Bonus Material!

3 Comments

It was great to chat to you guys!

As I mentioned in the video, I’m happy to chat here in the comments about any other questions your viewers may have!

    Excellent! I’m hoping we get a few questions from our server side/dev ops viewers. I’m definitely much more confident now to play around with some of my personal and community sites now to optimise their performance after that hangout! I’m actually really excited about doing so :)

    We’ll keep an eye out on comments on G+/YouTube and Twitter for you too to keep you in the loop! Thanks again Sir!

Trackbacks and Pingbacks

[…] visit WP Dev Table […]

Leave a Reply

Name and email address are required. Your email address will not be published.

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>