Your SlideShare is downloading. ×

Drupal Performance

1,671

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,671
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
11
Comments
0
Likes
1
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

Transcript

  • 1. Drupal and Performance Kornel Lugosi (@Coornail) Pronovix November 5, 2010
  • 2. Performance / Scaling Performance != Scaling
  • 3. Backend
  • 4. Know your parts Linux Apache (/nginx/Lighttpd) Mysql (/postgreSQL/sqlite) PHP
  • 5. Webserver Apache Nginx lighttpd ...
  • 6. Nginx vs Apache
  • 7. Reverse proxy for anonymous users Varnish Nginx
  • 8. Varnish
  • 9. Hardware RAM.
  • 10. PHP Opcode caches: APC XCache Zend Optimizer
  • 11. Opcode caches
  • 12. Cutting-edge mod performance
  • 13. Measure
  • 14. Measure Apache Benchmark (ab) Jmeter Firebug
  • 15. Jmeter
  • 16. Monitor
  • 17. Monitor Munin Cacti Nagios
  • 18. Front-end
  • 19. HTTP requests JavaScript aggregation CSS aggregation mod expires
  • 20. Parralelize downloads Use content delivery network: Parralel module CDN module SimpleCDN module
  • 21. Compress mod deflate
  • 22. mod deflate
  • 23. Utilize cache mod expires
  • 24. Keep it minimal Reduce DOM elements Reduce DNS lookups
  • 25. Images Letting them 404 is very expensive in Drupal 6! optipng jpegtrans
  • 26. Drupal-related
  • 27. Anonymous vs Logged in
  • 28. Database engines
  • 29. Pressflow Drupal fork Optimized for performance Only supports mysql Supports reverse proxies(!) Database replication
  • 30. Pressflow
  • 31. Pressflow and Varnish at CEU
  • 32. Performance related modules memcached cache router boost

×