October 21 to 23, 2011

UC Berkeley, California

A culmination of the brightest Drupal minds in the technology hub of the world

1500
attending

Drupal Performance (a little deeper than "just Varnish")

This session is to discuss some concepts around increasing web-site performance *on the web* - such as nginx, CDNs, memcache, user load cache, authcache, XHProf (memory profiling). If you want to know (or more importantly want to share) some of the best ways to deliver dynamic content - let's talk!

Performance

  • nginx
  • CDN
  • user load cache
  • authcache
  • memcache
  • (varnish)
  • XHProf
    • new relic (profiling)
  • cachegring
  • xdebug (debugging)

Agenda:

  • Download drupal (drink the coolaid)
  • LAMP stack

    • op code cache!!! (apc)
    • tune mysql
      • use min/max my.cnf
      • tuningprimer.sh
      • split servers?
    • tune your php configs
      • memory... (dont keep increasing!!!)
    • memcache - replace the drupal cache tables
    • varnish / nginx
      • php-fpm
  • High-performance

    • Pressflow!!!
    • Commercial solutions
      • Pantheon
      • Acquia Cloud
        • newrelic
      • Cadre
  • Tools!

    • Drush
      • cleaning your db's (sql-sync)
      • drush bench (apache bench)
    • Unit tests!
      • Measure over time with your CI server (note offenders)
  • Embrace the web!

    • Use services to interconnect components
    • Proper headers for taking advantage of built in cacheing
    • CDN - offload asset work to other servers (CDN.module)
      • Advagg JS/CSS
      • images
  • Craziness!!

    • Hiphop? (there is a Pressflow branch!)
    • Resident bootstrap (libevent / fork) (there is also a Pressflow branch)
      • Gearman
    • Compiled drupal (php drupal extensions - drupalphpext)
Room: 
Dwinelle 187