Designing Enterprise Drupal How to scale Drupal server infrastructure ENVIRONMENTS.
Tuning Drupal for Scale and Performance
-
Upload
adam-kalsey -
Category
Technology
-
view
8.975 -
download
2
description
Transcript of Tuning Drupal for Scale and Performance
Tuning Drupal for Scale and Performance
What is scaling?
It’snotaboutHowFast
• How Much
• How Much
It’sallaboutCapacity
What can scale...
What can scale...
Drupal
What can scale...
DrupalYour Code
What can scale...
DrupalYour Code
Server
What can scale...
DrupalYour Code
ServerArchitecture
Scaling Drupal
• Module bloat• Index optimization• MySQL Engine Selection• Cache
Caching
Built-in caching
Caching
Built-in caching
Caching
73%
Built-in caching
CSS Aggregation
Caching
Built-in caching
CSS Aggregation
Block Cache
Caching
Built-in caching
CSS Aggregation
Block Cache
Advanced Cache
Caching
Built-in caching
CSS Aggregation
Block Cache
Advanced Cache
Boost
Caching
Scaling your install
• Load testing• Code performance• Query optimization
Drupal Infrastructure
• Memcached • Caching proxy• Scale Databases out• Offload static content– Content Delivery Network– Second lightweight web server– S3
Opcode Caches
GraphfromDriesBuytaert
Server Tuning
• RAM• Apache Processes• Replace Apache with Nginx and FastCGI• Replace PHP with Resin• Monitoring
Resin
Hardware scaling
UP OUT
Scaling High Points
• Cache as much as possible• Tune your queries• Tune your code• Don’t install stuff you don’t need• Serve Drupal from one server, static from
another• Run an opcode cache
Adam KalseyVP of [email protected]
866-WorkHabithttp://workhabit.com/