• Save
Getting Started with Drupal Performance
Upcoming SlideShare
Loading in...5
×
 

Getting Started with Drupal Performance

on

  • 3,182 views

 

Statistics

Views

Total Views
3,182
Views on SlideShare
3,105
Embed Views
77

Actions

Likes
5
Downloads
6
Comments
2

5 Embeds 77

http://erikwebb.net 67
http://localhost 3
http://www.linkedin.com 3
http://pl1268.pairlitesite.com 2
https://www.linkedin.com 2

Accessibility

Categories

Upload Details

Uploaded via as Apple Keynote

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • Glad I could help. If you have any questions left unanswered, please feel free to send me an email - http://erikwebb.net/contact
    Are you sure you want to
    Your message goes here
    Processing…
  • Thank you, that was helpful and informative. I run multiple Drupal sites (of all sizes) on a VPS so I'm always looking for ways to squeeze performance out of my VPS.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • nginx claims 1.4M per process <br />
  • <br />
  • <br />
  • 3 parts - memcached, PECL extension (memcache suggested, not memcached), Drupal module <br />
  • <br />
  • <br />
  • <br />

Getting Started with Drupal Performance Getting Started with Drupal Performance Presentation Transcript

  • Getting Started with Drupal Performance Erik Webb Technical Consultant, Acquia http://www.flickr.com/photos/91369701@N00/473868198/
  • Performance Tools APC Boost lighttpd Memcache nginx Pressflow Squid Varnish
  • “Do not hack core!” -d.o #144376
  • Unless...
  • ...it’s REALLY worth it! “Pressflow is a distribution of Drupal with integrated performance, scalability, availability, and testing enhancements.”
  • Pressflow If you want performance, don’t think twice! API-compatible MySQL-specific Reverse proxy support Backport new Drupal enhancements More cutting edge https://wiki.fourkitchens.com/display/PF/Comparison+-+Pressflow+versus+Drupal
  • lighttpd & nginx Alternative web servers FastCGI Lightweight compared to Limited module support Apache Serve static files quickly High-extreme gain, Integrate with Boost complicated setup Load balance atop Apache
  • APC (Alternative PHP Cache) Opcode cache Shares PHP memory between processes Will be built-in to PHP6 http://php.net/apc Low-moderate gain, dead-simple configuration http://www.flickr.com/photos/jtyerse/208109946/
  • Boost Saves Drupal output as files Work with lighttpd or nginx http://drupal.org/project/ boost High anonymous gain, simple-hard configuration http://www.flickr.com/photos/kgelster/2779025573/
  • Memcache Made up of 3-4 components Pool memory resources over a network Moves DB cache to fast memory http://drupal.org/project/ memcache Moderate gain for both authenticated and anonymous users, simple-moderate configuration http://www.flickr.com/photos/kgrocki/4476048611/
  • Varnish Requires Pressflow Handle 3k-7k req/sec Page cache in memory, separate from Drupal http://drupal.org/project/ varnish Extreme performance for both anonymous and authenticated users, very complicated setup
  • Panetheon Formerly Project Mercury Drupal Performance-in-a- box Includes Varnish, APC, Memcached, Solr, and others http://groups.drupal.org/ pantheon
  • Questions? a.k.a. the shameless plug slide