‘Load Testing’ Videos

  • Tony Le: Preparing for the Flood. How do you conduct Load Testing to Ready your WordPress site for Viral Events?

    WordCamp Santa Clarita 2020Speaker: Tony Le

    May 30, 2020 — This talk will cover the philosophy of load testing, why it’s important, and a hands-on session using easy-to-use cloud testing tools. During this workshop, you’ll learn how to setup your own load test! Definitely bring a laptop to this interactive session.

    Presentation Slides »

  • Erik Mathy : WordPress Load Testing With Elastic Beanstalk, Locust and CasperJS

    WordCamp Orange County 2017Speaker: Erik Mathy

    July 20, 2017 — “As WordPress becomes an ever larger mainstay in the Enterprise world of Internet websites and applications, it becomes more important for developers to test their work’s ability to scale. While a piece of functionality may work perfectly fine with 5, or even 50, concurrent users, how does it work with 200? 500? 1000? Past WordPress itself, do the other pieces of the infrastructure such a MySQL, Redis, Varnish or other services keep up as the user requests pile up?
    To answer these questions and more has moved well past the abilities of older load testing solutions. Apache Bench is fantastic, for example, but it doesn’t parse a page, gather information, and act accordingly. It can’t mimic a user working through a shopping cart, nor peruse all the mystery books on an online bookstore.
    After several years of in the trenches load testing it’s been both my pain and pleasure to have worked through many different solutions as I’ve tried to find the One Load Testing Framework To Rule Them All. While the magic solution has yet to present itself, I’ve found a pretty good combination:
    Elastic Beanstalk + Locust + CasperJS = A highly scalable, fairly easy to set up, functional open source load testing framework that meets 95% of my daily needs.
    In this talk I will introduce the moving parts and walk through one of our more common load testing scenarios: A WordPress WooCommerce site. I will create the tests, run them, and go through the results to see where our bottlenecks are. Hopefully in doing so we can shed some light on how to test not only your code, but the other parts of your WordPress architecture.

  • Jason Cosper: Scaling WordPress With Load Testing

    WordCamp San Diego 2017Speaker: Jason Cosper

    April 4, 2017 — Everybody wants their site to be scalable. From shared hosting customers to large media companies on expensive dedicated hardware, people deserve to get every last bit of performance that they’ve paid for. A great first step is to do load testing. However, most of the people running tests tend to only do so on their local machine. To truly understand what you can reasonably expect, you need to throw real traffic (and real scenarios) at your production environment. In this session I will discuss how to generate tests that mimic realistic user traffic, ways to run these tests against your site, and what to do after you realize things maybe aren’t as fast as you’d thought.