30.06.2016 Views

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.

Preface<br />

What this book covers<br />

Chapter 1, Starting with the Right Hardware, enables us to understand our needs in terms<br />

of horsepower. In addition, this first chapter will show us which criteria should dictate<br />

the choice of a trustee company to host your <strong>Magento</strong>. Finally, we will also learn how<br />

to handle more than we can physically handle by taking advantage of the localization<br />

and using CDN or external services.<br />

Chapter 2, Choosing the Best Web Server, guides us through the installation of three major<br />

players in the web server market: Apache, lighttpd, and Nginx. We will also learn how<br />

to optimize each one of these three web servers and present the clear winner.<br />

Chapter 3, Tuning, Scaling, and Replicating MySQL, makes us understand why MySQL<br />

is the bottleneck of our <strong>Magento</strong> applications and how to optimize it. To do so,<br />

we will use a set of dedicated scripts which are analyzing the usage of the MySQL<br />

database and advice for better configuration.<br />

Chapter 4, Caching Them All, explains how to take advantage of different caching<br />

mechanisms in order to store—instead of recomputing—the requests of your<br />

customers, in terms of HTTP requests, PHP byte code, and random objects using<br />

Varnish, APC, and memcache, respectively. We also see how to use FPC and the<br />

Facebook HipHop Virtual Machine.<br />

What you need for this book<br />

In order to follow, without any difficulties, the technics and code sample included<br />

into this book, the reader should have a little knowledge about Linux commands<br />

such as cd, ls, wget, and so on. Also, the reader should have already installed a<br />

<strong>Magento</strong> server by him/herself in order to be familiar with the folder and file<br />

architecture of <strong>Magento</strong>.<br />

Who this book is for<br />

This book is written for <strong>Magento</strong> administrators who wish to optimize their store<br />

to increase the performance without having to spend USD 17,000 a year for the<br />

Enterprise Edition of <strong>Magento</strong>. It should be noted that <strong>Magento</strong> is a project with a<br />

gigantic code base and the tools to optimize it aren't trivial either; the readers must<br />

be willing to get their hands dirty and produce some code themselves.<br />

[ 3 ]<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!