Magento Site Performance Optimization

Book Description

Leverage the power of Magento to speed up 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.

What You Will Learn

  • 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

Table of Contents

  1. Magento Site Performance Optimization
    1. Table of Contents
    2. Magento Site Performance Optimization
    3. Credits
    4. About the Author
    5. About the Reviewers
      1. Support files, eBooks, discount offers and more
        1. Why Subscribe?
        2. Free Access for Packt account holders
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    8. 1. Starting with the Right Hardware
      1. Measuring performance
      2. Evaluating your needs
        1. Doubling the CPU
        2. Doubling the RAM
        3. Doubling CPU and RAM
        4. Measuring the impact of disk rate
      3. Selecting a trusted company
      4. Handling more than what you physically can
        1. Content Delivery Network
      5. Summary
    9. 2. Choosing the Best Web Server
      1. Evaluating your needs
      2. Choosing the best server for your e-commerce website
      3. Installing the Apache HTTP server 2.2.22
        1. Before optimization
        2. Configuration tweaks
          1. Using mod_deflate
          2. The keepAlive and max processes
          3. Compiling Apache 2.2
      4. Installing the lighttpd 1.4.28 web server
        1. Before optimization
        2. Configuration tweaks
      5. Installing the Nginx 1.1.19 web server
        1. Before optimization
        2. Configuration tweaks
      6. Summary
    10. 3. Tuning, Scaling, and Replicating MySQL
      1. Understanding why MySQL is too stressed
      2. Configuring MySQL for high performance
        1. Tuning MySQL using the script
        2. Tuning MySQL using the tuning Primer
        3. Tuning my.cnf for performance
      3. Optimizing our table
      4. Truncating some tables for performance
      5. Moving MySQL to its own dedicated server
      6. Replicating MySQL on a slave server
      7. Summary
    11. 4. Caching Them All
      1. What is caching?
      2. Exploring built-in Magento caching mechanisms
      3. Using RAM to store cache files
      4. Installing other caching tools
        1. Varnish Cache
        2. Alternative PHP Cache
        3. The memcached object caching system
        4. Lesti::Fpc – full page cache for Magento
        5. Installing Lesti::Fpc
      5. Understanding the limitations of cache mechanisms
      6. HipHop Virtual Machine
      7. Summary
    12. Index

Product Information

  • Title: Magento Site Performance Optimization
  • Author(s):
  • Release date: May 2014
  • Publisher(s): Packt Publishing
  • ISBN: 9781783287055