O'Reilly logo

Magento 2 Development Cookbook by Bart Delvaux

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Benchmarking a website

When you have a high-traffic site, you would probably want to know the limits of the website. What will be the capacity of my website when I launch a marketing campaign? What is slowing down my site? Which optimizations have the most effect?

To know the limits of a website, we have to use benchmarking tools. With a benchmarking tool, we will create a load on the website and log the response time to a file. By increasing or decreasing some values, we can determine the load that is the limit of a website.

In this recipe, we will benchmark the Magento site by doing some tests with ApacheBench and Siege. With these tools, we can measure the performance of different pages.

Getting ready

For this recipe, we need some tools that need ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required