Magento Site Performance Optimization


Magento Site Performance Optimization
eBook: $13.99
Formats: PDF, PacktLib, ePub and Mobi formats
$11.90
save 15%!
Print + free eBook + free PacktLib access to the book: $36.98    Print cover: $22.99
$34.89
save 6%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Reviews
Support
Sample Chapters
  • Improve the performance of Magento by more than 70%
  • Master Magento caching techniques
  • Using a step-by-step approach, learn how to optimize Magento site performance

Book Details

Language : English
Paperback : 92 pages [ 235mm x 191mm ]
Release Date : May 2014
ISBN : 1783287055
ISBN 13 : 9781783287055
Author(s) : Mathieu Nayrolles
Topics and Technologies : All Books, CMS and eCommerce, Web Development, Open Source


Table of Contents

Preface
Chapter 1: Starting with the Right Hardware
Chapter 2: Choosing the Best Web Server
Chapter 3: Tuning, Scaling, and Replicating MySQL
Chapter 4: Caching Them All
Index
  • Chapter 1: Starting with the Right Hardware
    • Measuring performance
    • Evaluating your needs
      • Doubling the CPU
      • Doubling the RAM
      • Doubling CPU and RAM
      • Measuring the impact of disk rate
    • Selecting a trusted company
    • Handling more than what you physically can
      • Content Delivery Network
    • Summary
  • Chapter 2: Choosing the Best Web Server
    • Evaluating your needs
    • Choosing the best server for your e-commerce website
    • Installing the Apache HTTP server 2.2.22
      • Before optimization
      • Configuration tweaks
        • Using mod_deflate
        • The keepAlive and max processes
        • Compiling Apache 2.2
    • Installing the lighttpd 1.4.28 web server
      • Before optimization
      • Configuration tweaks
    • The Nginx 1.1.19 web server
      • Before optimization
      • Configuration tweaks
    • Summary
  • Chapter 3: Tuning, Scaling, and Replicating MySQL
    • Understanding why MySQL is too stressed
    • Configuring MySQL for high performance
      • Tuning MySQL using the mysqltuner.pl script
      • Tuning MySQL using the tuning Primer
      • Tuning my.cnf for performance
    • Optimizing our table
    • Truncating some tables for performance
    • Moving MySQL to its own dedicated server
    • Replicating MySQL on a slave server
    • Summary
  • Chapter 4: Caching Them All
    • What is caching?
    • Exploring built-in Magento caching mechanisms
    • Using RAM to store cache files
    • Installing other caching tools
      • Varnish Cache
      • Alternative PHP Cache
      • The memcached object caching system
      • Lesti::Fpc – full page cache for Magento
      • Installing Lesti::Fpc
    • Understanding the limitations of cache mechanisms
    • HipHop Virtual Machine
    • Summary

Mathieu Nayrolles

Mathieu Nayrolles was born in France and lived in a small village in Côte d'Azur for almost 15 years. He started his computer science studies in France and continued them in Montréal, Canada, where he now lives with his wife. He holds two master degrees from eXia.Cesi (Software Engineering) and UQAM (Computer Science). He is now a PhD. student at Concordia University (Electrical and Computer Engineering), Montréal, Canada, under the supervision of Dr. Abdlewahab Hamou-Lhadj, where he tries to improve the bug fixing process.

Along with his academic journey, Mathieu has been consulting as a Magento Performance Specialist since the development of Magento 1.6 (August 2011) and has also worked for worldwide companies such as Eurocopter or Saint-Gobain, where he learned how important good technical resources are.

You can discover more about his work by referring to other texts he has written, such as Instant Magento Performance Optimization How-to, Packt Publishing (February 2013), Mastering Apache Solr, or its latest realization at http://caramboles.fr.

You can find even more information on his personal website: http://mathieu-nayrolles.com.

Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

Magento Site Performance Optimization +    Joomla! 3 Beginner's Guide Second Edition =
50% Off
the second eBook
Price for both: $32.50

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • Configure MySQL for high performance
  • Optimize the database model
  • Take advantage of Varnish, APC, memcached, and FPC
  • Explore built-in Magento caching mechanisms
  • Install and tune Apache, lighttpd, and Nginx for Magento
  • Supercharge your website with external services
  • Use the Facebook HipHop Virtual Machine to serve Magento
  • Gain more customers by enhancing your website

In Detail

In the open source, e-commerce platform community, Magento has established itself as the most popular e-commerce platform in the market. It is supported by a very strong developer community and it fits most merchants' needs. Despite this leadership, Magento has a major problem; it is very slow. To serve customers in a more efficient way, we need a tool that can optimize our sites' performance. Even if the tool is able to boost the speed of the site to some extent, it can still be a very crucial factor when there are so many competing websites on the market.

This book will start by providing a list of trustee companies to host a Magento website with high traffic. Also, we will discuss the required configurations in terms of amount of RAM, CPU, and HDD.

Approach

Magento Site Performance Optimization follows a hands-on, easy-to-follow approach, which focuses on the optimization of Magento’s performance. Each chapter has a very logical flow, which makes the book Reader-friendly.

Who this book is for

This book is written for Magento administrators who wish to optimize their store to increase performance, without spending thousands of dollars a year for the enterprise edition of Magento. It is noteworthy that Magento, as a project, comes with a gigantic code base and tools; however, the reader needs to be up for the challenge, ready to produce their own code to make the most of its code base.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software