Website Load Testing: Making Sure Your Site Survives a Flash Sale, Viral Moment or Ad Campaign Spike

Your website might handle everyday traffic just fine and still fall over the one day it matters most — during a big promotion, a viral social post, or a paid campaign that actually works. Here’s how to find out before it happens.

The worst possible time to discover a capacity problem

We’ve seen it happen more than once: a Singapore SME finally gets the viral moment they’ve been chasing, or their 11.11 or 12.12 promotion actually takes off, and the website slows to a crawl or goes down entirely right when the traffic shows up. The campaign that should have been the best day of the quarter becomes a support nightmare and a pile of abandoned carts. The frustrating part is that this is almost always predictable and preventable.

Load testing is simply the practice of simulating a traffic spike on purpose, before the real one happens, so you find the breaking point on a quiet Tuesday afternoon instead of during your busiest sale of the year.

What actually breaks first

It’s rarely the web server itself that gives up first. In most of the sites we’ve diagnosed under load, the failure point is the database — too many simultaneous queries for product stock, cart sessions or search results — or a single third-party integration (a shipping rate API, a payment gateway, a marketing pixel) that can’t keep up and ends up blocking everything else waiting on its response. Shared or budget hosting plans also often have hard caps on simultaneous processes that get hit far sooner than business owners expect.

How a basic load test actually works

At its simplest, a load testing tool sends a growing number of simulated visitors to your site performing realistic actions — browsing a product page, adding to cart, submitting a form — and measures response times and error rates as the volume increases. Free and low-cost tools exist for this (k6 and Apache JMeter are common starting points for a developer to run), and the output is a clear picture of roughly how many concurrent visitors your current setup can handle before response times degrade or errors start appearing.

You don’t need enterprise-scale numbers to make this worthwhile. Knowing that your site holds up fine to 200 concurrent users but starts failing at 400 is immediately useful if your ad agency is telling you the campaign could bring several hundred people to the site in a single hour.

Fixes that usually matter more than “upgrade the server”

  • Page and object caching, so repeat requests for the same product page don’t hit the database every time
  • A content delivery network for images and static assets, which takes a large share of load off your origin server
  • Queueing or rate-limiting on checkout and form submissions so a spike degrades gracefully instead of crashing outright
  • Reviewing which third-party scripts load on your highest-traffic pages, and removing or deferring anything non-essential

Throwing a bigger hosting plan at the problem sometimes helps, but it’s frequently the most expensive fix for a problem that caching and a CDN would have solved for a fraction of the cost.

When to actually run this

The right time is two to three weeks before a known high-traffic event — a major sale, a product launch, a press feature you know is coming — which leaves enough runway to fix what the test uncovers. Running it the week of the event only tells you about a problem you no longer have time to solve.

The Oasis take

We build a load test into the plan for any client running a significant paid campaign or seasonal sale for the first time on a site we haven’t already stress-tested. It’s a small, contained piece of work compared with the cost of a failed launch, and it almost always surfaces at least one fix worth making regardless of the result.