This document discusses 10 ways to make Magento faster that do not directly involve changes to Magento. It recommends minimizing external service calls, caching static content close to customers using a CDN, reducing blocking operations like database queries over NFS mounts, and focusing on perceived page load speeds rather than raw stats. It also advocates testing performance changes with production-scale data loads.
2. Insert photo of speaker
here
891 pixels h x 688 pixels w
10 ways to make
Magento faster that
have (almost) nothing
to do with Magento
Technical Manager of Education
and Consulting
Kevin Schroeder
@kpschrade http://www.eschrade.com/
6. Watch Out For AllowOverride
0
0.02
0.04
0.06
0.08
0.1
0.12
0.14
0.16
0.18
0.2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
With .htaccess
Without .htaccess
0
500
1000
1500
2000
2500
With .htaccess Without .htaccess
Top System Calls Throughput
7. Watch Out For AllowOverride
0
0.05
0.1
0.15
0.2
0
0.02
0.04
0.06
0.08
0.1
0.12
0.14
8. Event based systems work best for
static content
0%
20%
40%
60%
80%
100%
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Wait
Idle
System
User
0%
20%
40%
60%
80%
100%
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Wait
Idle
System
User
0 500 1000 1500 2000 2500
Over Nginx (100 c.)
Over Apache (100 c.)
9. Give the customer something to look at
Which looks worse to your customer?
What is more important?
How fast your site actually is
or how fast your customer thinks it is?
10. Keep content close to the customer
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
US US US CA US US US US US GB US US US US US US BR BR GB TR
Connection close times by country to eschrade.com
19. • Put data as close to the endpoint
as reasonably as is possible
• Minimize superfluous operations
as reasonably as is possible
• Never redo an operation unless it
is unreasonable to do so
Principles of High Performance