CMMB Logo
E-Commerce2024

Scaling Architecture for a Black Friday Surge

Client profile

Multi-brand online retailer

Timeline

10 Weeks

Peak Traffic

50k req/sec

Key Outcome

No downtime at peak

Scaling Architecture for a Black Friday Surge
01The Challenge

The Problem Worth Solving

An online retailer experienced severe downtime during the previous year's holiday sales events. Their monolithic storefront could not handle sudden traffic spikes, costing them revenue on their single biggest trading day and damaging customer trust.

02Our Approach

How We Thought About It

We load-tested the legacy setup to establish a performance baseline and identify the exact bottlenecks — the checkout flow and the product image CDN were the two critical failure points. We recommended a headless commerce architecture and validated it against a ten-times traffic simulation before committing the client to the full migration.

03The Solution

What We Built

We migrated the frontend to a headless commerce architecture using Next.js, decoupled from the commerce backend via GraphQL. We implemented edge caching and optimised Core Web Vitals to improve both search visibility and conversion. A staged rollout let us run A/B traffic between the old and new stacks during the final two weeks.

04The Results

What Changed

The site handled its peak trading day at roughly fifty thousand concurrent requests without downtime. Page load times improved by around three times, which lifted both search performance and checkout completion. The client traded through the following peak season on the same architecture without further intervention.

“The year before, we lost our biggest sales day to downtime. This time it was the quietest day our engineering team had.”

Head of E-Commerce

Multi-brand online retailer, Malaysia

Tech Stack Used

Next.js
Shopify Plus
GraphQL
Vercel
Cloudflare

Start Your Project

Let's work together,
get started.

Tell us about your project. We'll respond with a tailored proposal within 48 hours — no templates, no salesperson.

  • No commitment required
  • Response within 48 hours
  • Signed NDA on request

Ready to take your business to the next level? Send us a message and see how we can help.

Or email [email protected] directly