Magento Site Performance Optimization
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Table of Contents<br />
Chapter 3: Tuning, Scaling, and Replicating MySQL 39<br />
Understanding why MySQL is too stressed 39<br />
Configuring MySQL for high performance 41<br />
Tuning MySQL using the mysqltuner.pl script 42<br />
Tuning MySQL using the tuning Primer 43<br />
Tuning my.cnf for performance 44<br />
Optimizing our table 45<br />
Truncating some tables for performance 46<br />
Moving MySQL to its own dedicated server 47<br />
Replicating MySQL on a slave server 49<br />
Summary 52<br />
Chapter 4: Caching Them All 53<br />
What is caching? 53<br />
Exploring built-in <strong>Magento</strong> caching mechanisms 54<br />
Using RAM to store cache files 55<br />
Installing other caching tools 58<br />
Varnish Cache 58<br />
Alternative PHP Cache 61<br />
The memcached object caching system 63<br />
Lesti::Fpc – full page cache for <strong>Magento</strong> 63<br />
Installing Lesti::Fpc 66<br />
Understanding the limitations of cache mechanisms 69<br />
HipHop Virtual Machine 70<br />
Summary 75<br />
Index 77<br />
[ ii ]<br />
www.it-ebooks.info