Traffic Spikes in 2026: Why Websites Crash on Their Busiest Sales Day, What CDN Caching, Autoscaling and Virtual Waiting Rooms Actually Absorb, and How to Load Test Before Black Friday
- Internet Pros Team
- November 27, 2026
- Web Design
Every year the same story plays out. A business spends months planning a Black Friday promotion, sends the email at 9 a.m., and by 9:04 the website is showing a 502 error. The marketing worked perfectly. The site did not. Traffic spikes from sales, TV mentions, viral posts and product drops are the outages businesses cause themselves, and they almost always hit at the moment the site is worth the most. The good news is that capacity problems are among the most predictable failures in IT. You can find the breaking point on a quiet Tuesday instead of discovering it live.
Why Sites Fall Over Under Real Customers
A site rarely crashes because “the server ran out of power.” It crashes because one small resource fills up and everything behind it starts waiting. The usual chokepoints, in the order we tend to find them:
- Worker processes. A PHP site can only run as many requests at once as PHP-FPM allows (
pm.max_children). On shared hosting that might be 10 or 20. Request number 21 waits in line, and if the line gets long enough the web server gives up with a 502 or 504. - Database connections. Every uncached page may run dozens of queries. When the database hits its connection limit or one slow query locks a busy table, every page that touches it stalls together.
- Uncacheable pages. Home and product pages cache easily. Cart, checkout, search, account pages and anything with a logged-in session usually cannot, so they hit the slowest part of the stack at full force.
- Third-party calls. Payment gateways, tax and shipping calculators, inventory sync and fraud checks all add their own delays and rate limits. When one of them slows down, your workers sit blocked waiting for it.
- Background jobs. Order emails, stock updates and scheduled tasks such as WordPress cron compete with shoppers for the same CPU at exactly the wrong time.
The cruel part is the cliff. Response times stay flat as traffic climbs, then jump from half a second to thirty seconds over a small increase in load. A queue that is 95 percent full looks healthy. A queue that is 101 percent full grows without limit. That is why “it handled last year fine” is not a capacity plan.
Doing the Math: How Much Traffic Is a Spike?
Before testing anything, estimate the number you need to survive. A simple rule from queueing theory, Little’s Law, says that the number of requests in progress equals the arrival rate multiplied by how long each one takes. If 50 page requests arrive every second and each takes 0.4 seconds to build, you need about 20 requests running at once. If a slow database pushes each request to 2 seconds, the same traffic now needs 100, and a server with 20 workers falls over.
To set a target, look at last year’s peak hour in analytics, multiply by your expected growth, then add a safety margin of two to three times. Email blasts and social posts arrive in a burst in the first few minutes, so plan for peak requests per second, not daily visitors.
What Each Defense Actually Absorbs
| Defense | What it handles well | What it does not fix |
|---|---|---|
| CDN and full-page caching | Anonymous traffic to home, category and product pages, images, scripts and styles | Cart, checkout, search and logged-in pages |
| Object caching (Redis, Memcached) | Repeated database lookups on dynamic pages | Slow writes, locked tables and order processing |
| Autoscaling | Gradual climbs over tens of minutes | Sudden bursts, because new servers take minutes to boot; it also cannot scale a single database |
| Virtual waiting room | Hard bursts such as product drops and ticket sales, by admitting visitors at a fixed rate | A site that cannot handle even its normal admitted rate |
| Rate limiting and bot rules | Scalpers, scrapers and inventory-hoarding bots | Genuine customer demand |
The cheapest win is almost always caching. Set sensible Cache-Control headers so the CDN can serve product pages for a few minutes, and use stale-while-revalidate so visitors get the cached copy instantly while one background request refreshes it. That turns ten thousand simultaneous product views into a handful of requests to your server.
Waiting rooms from services such as Cloudflare Waiting Room and Queue-it are underrated for small businesses. A friendly “you are in line, about 2 minutes” page loses far fewer sales than a checkout that times out after the customer has typed in their card number.
How to Run a Load Test That Means Something
A Pre-Sale Load Test in Six Steps
- Pick the right environment. Test a staging copy that matches production in server size, caching and data volume. If you must test production, do it at the quietest hour and tell your host first, or their DDoS protection may block you.
- Script real shopper journeys. Do not just hammer the home page, which is cached and proves nothing. Script browse, search, add to cart and checkout with realistic pauses between steps. Open-source tools such as k6, Locust, Apache JMeter and Gatling all handle this.
- Ramp, then spike. Run a gradual ramp to find the point where response times bend upward, then a sudden spike test that mimics the email blast arriving all at once.
- Watch the server, not just the tool. Track CPU, memory, worker counts, database connections, slow query logs and error rates while the test runs. The first resource to max out is your real limit.
- Use test payments. Point checkout at the payment gateway’s sandbox. Real gateways may flag a flood of identical orders as card testing fraud.
- Fix one thing and test again. Raise the worker limit, add an index, cache a page, then rerun. Stop when you can handle your target with comfortable headroom.
The Day-Of Checklist
- Freeze changes. No plugin updates, theme edits or new tracking tags in the 48 hours before a big sale.
- Pre-warm the cache. Crawl your key pages after the final content change so the first wave of shoppers is not building them from scratch.
- Move heavy jobs. Reschedule backups, imports and reports away from the launch window, and run WordPress cron from a real server schedule instead of on page loads.
- Stagger the announcement. Sending a big email list in batches over 30 minutes smooths the burst at no cost.
- Have a plan B. Know who to call at your host, keep a lightweight “we are busy” page ready, and set up uptime monitoring that alerts a person, not just an inbox.
The Bottom Line
A traffic spike is not bad luck. It is a load test you did not schedule, run by your own customers with their wallets out. Find your limit with a realistic test, cache everything that can be cached, and put a queue in front of anything that cannot keep up. The few hours this takes are cheap compared to a sale that goes dark at the worst possible moment.
Planning a big promotion and not sure your website will hold up? Contact Internet Pros and we will load test your site, find the bottleneck and tune your hosting and caching before the rush.