Don't Launch a Sales Campaign Without Load Testing

Every year it's the same movie: the November campaign kicks off, the ad budget starts flowing, and the site crashes within the first half hour. At the meeting the next day, someone says, "let's get a bigger server." Yet in most systems that crash, the problem isn't server size; it's bottlenecks that were never tested. As a team that has been building e-commerce and enterprise systems for 16 years, our rule is clear: don't guess your traffic, simulate it. In this post, we explain how to design a realistic load test, the typical wins that come out of testing, and the monitoring setup you need to put in place afterward.

What does a load test show?

A well-designed load test gives you three critical answers: where the system's breaking point is, which component chokes first, and at what traffic level the user experience starts to degrade. The bottlenecks we see most often in the field aren't server CPU; they're a database whose connection pool fills up, an unindexed query, a configuration that writes session data to disk, or a timeout on an external API.

A practical test setup

As a tool, k6 or JMeter will more than do the job. What matters is how realistic the scenario is:

  • Mimic the real user journey: homepage → category → product → cart → checkout. Putting load only on the homepage gives misleading results.
  • Ramp up gradually: 100, 500, 1,000, and 2,000 concurrent users. Note at which step and in which component the breakdown begins.
  • Don't look only at the average: p95 and p99 response times tell the real story. An average of 300ms with a p99 of 8 seconds means one in every 100 users leaves the site.
  • Test in a production-like environment: a result from a half-size staging environment can't simply be doubled for production; bottlenecks don't scale linearly.
Four rules for designing a load test: real user flow, gradual ramp-up, p95/p99 measurement, and a production-like environment.
What matters isn't the tool but how realistic the scenario is.

Typical wins from testing

A few real results from load tests we've run in recent years: on one project, a single composite index added to the cart query tripled the number of concurrent users the system could handle. On another, a circuit breaker placed on requests to the payment provider kept the entire site from locking up when the external service slowed down. Moving session management to Redis cut the database load by 40 percent. None of them required spending on hardware.

The test is done, the work isn't: the monitoring layer

The twin sibling of load testing is production monitoring. A test gives you a lab result; on the actual campaign day, running without live monitoring is flying blind. The minimum setup is this: server and database metrics (CPU, memory, connection count, number of slow queries) tracked on a single dashboard, threshold-based alerts for error rate and response time, plus synthetic checks that exercise critical flows (login, cart, checkout) from the outside every few minutes. That way, you learn about a problem from your own alerting system rather than from "your site is down" messages on social media; on campaign day, the minutes in between translate into serious money. Feeding the breaking-point thresholds from the test report into the monitoring system as alert thresholds is the most valuable step connecting the two efforts.

Production monitoring layers: synthetic checks, threshold alerts, single-dashboard metrics, and thresholds from the test report.
Testing gives you a lab result; live monitoring runs the campaign day.

When should you test?

Not a week before the campaign. The right timing: a first round at least a month before major campaigns, then a verification round after the fixes. At Rich Design, drawing on experience from more than 500 projects, we run load test design, bottleneck analysis, and optimization work end to end. If a critical date is approaching, let's talk now; the cost of a crashed campaign day is hundreds of times the cost of the test.