In plain words
Load testing sends realistic, rising traffic at a copy of your system with a tool like k6, so you learn the point where latency and errors climb, and which part gives way first.
Where you see it
Before Black Friday, Harbor's team runs a k6 script against staging that ramps up to 800 virtual users over 15 minutes. At 450 users p95 latency jumps from 300 ms to 4 seconds, and the database dashboard shows every connection in use.
What goes wrong
- A staging copy that looks nothing like production
A staging database with a thousand rows on one small server tells you little about production with 40 million. Match data size and instance sizes, or be careful how you scale the results.
- Every virtual user loading the same page
One URL with the same ID is served from cache and looks wonderful. Mix routes, accounts and data the way real traffic does, including sign-ins, writes and searches.
- Measuring only from the load generator
The test says p95 went bad at 450 users, not why. Watch server metrics, database connections and queue depth during the run, so you can name what broke first.
What to tell your agent
Quick check
Sign in to earn +10 XP for itHarbor's load test shows p95 latency jumping at 450 virtual users while app server CPU sits at 35 percent. What do you check next?