Your SlideShare is downloading. ×
Getting Started with Drupal Performance
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Getting Started with Drupal Performance

2,651
views

Published on

Published in: Technology

2 Comments
5 Likes
Statistics
Notes
  • Glad I could help. If you have any questions left unanswered, please feel free to send me an email - http://erikwebb.net/contact
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • 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.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
2,651
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
6
Comments
2
Likes
5
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide






  • nginx claims 1.4M per process


  • 3 parts - memcached, PECL extension (memcache suggested, not memcached), Drupal module



  • Transcript

    • 1. Getting Started with Drupal Performance Erik Webb Technical Consultant, Acquia http://www.flickr.com/photos/91369701@N00/473868198/
    • 2. Performance Tools APC Boost lighttpd Memcache nginx Pressflow Squid Varnish
    • 3. “Do not hack core!” -d.o #144376
    • 4. Unless...
    • 5. ...it’s REALLY worth it! “Pressflow is a distribution of Drupal with integrated performance, scalability, availability, and testing enhancements.”
    • 6. 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
    • 7. 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
    • 8. 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/
    • 9. 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/
    • 10. 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/
    • 11. 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
    • 12. Panetheon Formerly Project Mercury Drupal Performance-in-a- box Includes Varnish, APC, Memcached, Solr, and others http://groups.drupal.org/ pantheon
    • 13. Questions? a.k.a. the shameless plug slide