You are hereapache

apache


Speed Up Your Drupal LAMP Stack

These are my notes from a talk at Drupalcamp NYC in December 2011 by Sam Kottler, @samkottler on twitter and skottler on drupal.org.

Let's make the LAMP stack go "Vroom!" This is going to be a really high-level overview of performance.

Benchmarking vs Profiling

When we benchmark something, we're setting a baseline to compare against in the future. We want to say "it was this fast this long ago, and here's how we improved." Whereas profiling is telling what is fast and what is slow.

Apache

Has a lot of parameters you can set; I'll cover some basic ones.

Apache Solr Search Mastery

Peter Wolanin and Robert Douglass work on the Solr search module in Drupal. They both work for Acquia.

Overview

  • What is solr and how do you run it locally
  • Getting Drupal data into Solr
  • Changes in Drupal 7
  • Field API integration
  • Searching Solr from Drupal
  • Modifying what's searched and the results
  • Theming search results

The code examples in these presentation work in Drupal 7; the Drupal 6 module is very similar with slight modifications.

Increasing Drupal's File Size Upload Limit

Image UploadBy default, most Drupal setups have an upload file size limit of 2 megabytes. That's enough for uploading most content like images and short Word documents and PDF files. But start uploading larger files like audio or video, and you'll quickly run into this frustrating upload limit. Some video files can be hundreds of megabytes! Here's how you can get around the limit.