Getting Started with Drupal Performance
Erik Webb
Technical Consultant, Acquia
                               http://www.fl...
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...
Pressflow
If you want performance,
don’t think twice!
API-compatible
MySQL-specific
Reverse proxy support
Backport new Drupa...
lighttpd & nginx
 Alternative web servers     FastCGI
 Lightweight compared to     Limited module support
 Apache
 Serve s...
APC (Alternative PHP Cache)
 Opcode cache
 Shares PHP memory
 between processes
 Will be built-in to PHP6
 http://php.net/...
Boost
Saves Drupal output as
files
Work with lighttpd or
nginx
http://drupal.org/project/
boost


High anonymous gain,
simp...
Memcache
Made up of 3-4 components
Pool memory resources over a
network
Moves DB cache to fast memory
http://drupal.org/pr...
Varnish
Requires Pressflow
Handle 3k-7k req/sec
Page cache in memory,
separate from Drupal
http://drupal.org/project/
varni...
Panetheon
Formerly Project Mercury
Drupal Performance-in-a-
box
Includes Varnish, APC,
Memcached, Solr, and
others


http:...
Questions?
a.k.a. the shameless plug slide
Upcoming SlideShare
Loading in...5
×

Getting Started with Drupal Performance

2,737

Published on

Published in: Technology
2 Comments
5 Likes
Statistics
Notes
No Downloads
Views
Total Views
2,737
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
6
Comments
2
Likes
5
Embeds 0
No embeds

No notes for slide






  • nginx claims 1.4M per process


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



  • Getting Started with Drupal Performance

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

    ×