Klarna Ben Maraney

Klarna's Four Load Testing Mistakes Developers Love to Make

Original post Four Load Testing Mistakes Developers Love to Make

Article Summary

Klarna Engineering found that developers' optimism about their own code creates predictable load testing blind spots. Here are the four mistakes that keep biting teams before Black Friday.

Ben Maraney from Klarna Engineering breaks down why developers, despite being best positioned to test their code, consistently make the same performance testing mistakes. Written for teams preparing for high-traffic events, this covers the gap between quick tests and production reality.

Key Takeaways

Critical Insight

Extended testing until reaching steady state across all resources reveals the performance cliffs that short, optimistic tests consistently miss.

Continue reading

What This Article Covers

Problem

During Black Friday load testing, developers found that their service maintained acceptable response times even at 100% CPU usage. However, JMeter couldn't reach the target throughput because all threads were stuck waiting for responses.

Solution

Instead of accepting the hardware limits, Ben Maraney's team dug into the warning signs. They increased the instance count and ran tests again to confirm the fix worked before pushing to production.

Impact

By investigating early, they caught the capacity bottleneck before Black Friday traffic hit. This prevented an outage during peak traffic.

The article reveals how one team's JMeter results almost let a Black Friday capacity disaster slip into production.

This page summarizes “Four Load Testing Mistakes Developers Love to Make” by Klarna, published Jan 12, 2017. All credit for the original work goes to the authors.

Read the original on engineering.klarna.com (opens in new tab)

AI tools for iOS

Browse all AI tools →