Interview Prep/SRE & Reliability/Capacity & Load Testing

Marketing announces a campaign that will bring 5x normal traffic in three weeks. Prepare.

IntermediateScenarioCapacity & Load Testing
Answer

Situation read → A known, dated spike is the best kind of capacity problem: there is time to test and prepare.

What I'd do →

  1. Get details: expected peak RPS, which journeys, duration, start time.
  2. Load test at 5x (plus margin, say 7x) with k6 arrival-rate scenarios against production-like staging or production off-peak.
  3. Find bottlenecks: DB connections, third-party rate limits, autoscaler maxReplicas, cloud quotas, node capacity.
  4. Pre-scale: raise HPA minimums before the campaign, warm caches, request quota increases, pre-warm load balancers if needed.
  5. Prepare degradation: feature flags to disable expensive features, rate limits for bots.
  6. Plan on-call coverage and a war room for launch time; freeze risky changes for the day.

Why → Autoscaling alone will not handle a 5x step change; testing and pre-scaling will.

Interview tip → Mention quotas and third-party limits; they are the usual surprises.

All SRE & Reliability questions Roadmap: SRE & incident response

More on Capacity & Load Testing