Introduction to Drupal Performance and Scalability

Drupal: 1m
Video Series
Information

In Drupal Performance & Scalability, Matt Westgate and James Sansbury teach you all you need to know to get peak performance out of Drupal on the LAMP stack.

They carefully walk you through both installation and customization of the entire LAMP stack. They go over the highly-optimized Pressflow distribution of Drupal. They teach you how to benchmark your site's performance, how to install many types of caching layers and how to optimize each layer of your server infrastructure. They even teach you all about things like CDN integration, APC, Varnish, Memcache and other caching layers within Drupal and MySQL. They discuss scaling strategies, looking at hardware topologies for both co-located and cloud infrastructures. They teach you how to isolate performance bottlenecks and cover strategies for monitoring. They also go over some of the changes in Drupal 7 and the next release of Pressflow. By the end of this video you'll be an old pro at creating high performance Drupal deployments!

You can download the companion files for this video as well, to use as you work through the series.

Discussion

Comments on this video

Comments here have been temporarily disabled. Please drop a line with our support for any questions or comments about the videos, blog posts, or about the site generally.

Just what I've been waiting for, thanks!

03:25:00 is spectacular :)

Ha! A little glimpse into the reality of the recording process for these videos. :-)

this is starting from the assumption of a clean CentOS install right?
i'm following along and decided to go with a clean Ubuntu 10.04 LTS Lucid install.
from what i gather it's not necessary to setup the server clock with my install right?
Also, could you point me to some resources since I would like to use D7 instead of pressflow?
I haven't finished the video yet but you say Seven is implementing much of Pressflows performance upgrades...
Thank you for the great video!

Hello! We did use CentOS for this video but Ubuntu will work just as well and the setting of the system time is more a formality than a necessary performance technique.

In terms of Drupal 7, the good news is that the layers of the software stack (varnish, memecache, solr) stay the same, but you'll wire those in Drupal 7 a little differently than you will Pressflow. I saw the start of Drupal 7 Performance Tuning Tips over a http://qa.drupal.org/performance-tuning-tips-for-D7 which should help bridge some of configuration specific settings for Drupal 7 and this video. It's not an exhaustive reference since Drupal 7 shipped only recently, but it's a good start to the strategies folks are using to scale Drupal 7.

Out of curiosity with the way session handling works with Pressflow is it compatible with current stable releases of Ubercart or does it need patching?

I'm also curious about the use of mpm worker w/apache and Centos 5.x the version of php referenced in the video is not thread safe and can't be used with apache worker? Isn't using worker w/apache usually best practice for high performance setups?

I wonder if the memcache part isn't deprecated. It's been throwing me odd errors while I followed every step described in the video. Am I correct ?

@anavarre:

The timing ended up being very bad for recording the Memcache section, as it was right about then that the Memcache module was going through some huge refactoring. That said, the instructions in the video should still work, so I'd love to know some more details about what you're running into. The biggest change I'm aware of is that you no longer need separate bins, so it actually makes the installation simpler. To be safe though, I would follow Memcache module's installation instructions to the 't', as there may be other changes I'm unaware of.

If you're still having troubles, feel free to start a discussion on http://help.drupalize.me/, and we can try to work through what you're seeing. Thanks!

Lullabot logo

Lullabot has trained thousands of Drupal developers & guided the development of some of the largest Drupal websites.