Chewy
E-commerce

How a billion-dollar e-commerce business built a performance testing framework from scratch with Gatling Enterprise

"We did a POC and evaluated multiple tools. Gatling was chosen because it was developer friendly, could be hosted in AWS, allowed us to spin up unique injectors for each test, supported lots of concurrent tests running in parallel without impacting each other, and the Gatling Enterprise UI was easy to use."
Chris Winkler - Chewy
Chris Winkler

Associate Director, Software Engineering

Part I

Introduction

At a Glance

  • Exponential growth in website traffic in the US during and after pandemic
  • Managing performance issues that might occur due to BOT traffic
  • Creation of a Performance Testing Framework and team with Gatling Enterprise
  • Daily load testing with an average of 500+ load tests and 100+ simulations per month
  • 20.4M happy, active users with an average visit duration of 08:19 min in 2023

About Chewy

With Chewy, no one pet-parents alone.
Chewy is here to stick by their customer’s side through the highs, lows, and in-betweens of pet parenthood, with everything the customer and their pet need for a happy and healthy life. At Chewy, the mission is to be the most trusted and convenient destination for pet parents and partners everywhere.

Chewy

Statistics

Location: USA


Industry: E-commerce


Turnover: $ 9.77 Billion (2022)


Employees: 20,000 (2023)


Gatling Enterprise Users: 450 + developers

  
Part II

Chewy’s exponential traffic growth caused performance challenges

Challenge

Chewy's e-commerce website had steady sales since the beginning. However, in 2020, Americans shifted to online shopping at the onset of the pandemic. The company saw exponential traffic growth, peaking during the holiday seasons.

Since the end of the pandemic, Chewy noticed that BOT traffic and web scrapers are increasingly sophisticated. It might have affected actual users if they attempted to filter all BOT traffic. To combat this, Chewy must ensure it can handle multiples of its standard traffic to avoid performance issues even if it faces heavy BOT traffic.

Chewy's tremendous growth and aim to maintain its impeccable customer service caused an urgent need to create a performance testing framework from scratch with a reliable load testing tool to manage site traffic.

  
Part III

Chewy established a performance testing framework with Gatling Enterprise

Solution

With Gatling Enterprise, Chewy started load testing daily, with several simulations to replicate traffic spikes and production traffic. Based on the simulations, they changed the architecture of certain pages, making them more resilient and protecting them from large amounts of traffic.

Currently, the performance team is continuously doing CI/CD testing, including soak and stress tests, to maintain the website's stability and uninterpreted customer service

  
Part IV

Chewy’s continuous load testing with Gatling Enterprise

Results

In 2023, Chewy had 20.4M happy, active customers with 08:19 minutes average visit duration with 450+ developers actively using Gatling Enterprise.

Chewy averages 500+ load tests per month and 100+ monthly distinct simulations. During the peak holiday season, the company has 1300+ load tests and 98+ monthly distinct simulations to manage their massive spike in website visits and sales and assess their daily performance.

Interested in bringing Gatling Enterprise to your organization?

Start your free trial, see what Gatling can do for your team, and enhance your performance engineering.

Start for free
Curious about pricing plans?
Related Articles

From Our Blog

Stay up to date with what is new in our industry, learn more about the upcoming products and events.

Gatling 3.11 is now available
Gatling 3.11

Gatling 3.11 is now available

Apr 25, 2024 1:18:10 PM 3 min read
MQTT Performance Testing using Gatling
MQTT Performance Testing using Gatling

MQTT Performance Testing using Gatling

Mar 28, 2024 11:00:00 AM 6 min read
Transport Layer Security (TLS) and application performance
Transport Layer Security (TLS) and application performance

Transport Layer Security (TLS) and application performance

Feb 6, 2024 9:58:00 AM 5 min read