TROUBLESHOOTINGDrupal Performance Problems
Pantheon.io 2
Speed Matters
Pantheon.io 3
When To Think About Performance
• When you actually have a problem.
• Before a launch or major traffic event.
Pantheon.io 4
Do Not Do Optimize Prematurely
Pantheon.io 5
Use Data to Do Your Performance Work
Pantheon.io 6
Two Pillars of Performance Troubleshooting
Pantheon.io 7
But Also Make Sure To Use Your Intuition
Pantheon.io 8
How Do Know If You Have Performance Problems
• When the Data Shows You Have a Problem
• When Your Start Hearing Complaints from Your Users
Pantheon.io 9
Five Things To Check First
1. Is Varnish Working?
2. Is Drupal Caching?
3. Do You Have a CDN?
4. Is Your Host a Good One?
5. Is Your Page Load Sane?
Pantheon.io
http://varnishcheck.getpantheon.com10
Is Varnish Working?
Pantheon.io
admin/config/development/performance11
Is Drupal Caching?
Pantheon.io
https://www.fastly.com12
Do You Have a CDN?
Pantheon.io
https://pantheon.io13
Is Your Host a Good One?
Pantheon.io
http://getfirebug.com14
Is Your Page Load Sane?
Pantheon.io 15
Then Let’s Start Testing
Pantheon.io 16
Load Impact 101
Pantheon.io 17
Load Impact: Custom Scenarios
https://chrome.google.com/webstore/detail/load-impact-user-scenario
Pantheon.io 18
Load Impact: Running the Test
Pantheon.io 19
New Relic 101
Pantheon.io 20
New Relic: Understanding Results
Pantheon.io 21
New Relic: Understanding the Drupal
Pantheon.io 22
New Relic: Understanding the Database
Pantheon.io 23
New Relic: Understanding External Services