A system becomes slower as load increases. How do you identify the bottleneck?
Answer
First confirm the workload was generated as intended and the injector is healthy. Find the load level and timestamp where latency, errors or throughput behavior changes, then correlate that point with application and infrastructure telemetry: CPU, memory/GC, queues, worker and connection pools, database waits or slow queries, disk/network, caches and downstream services. Change one credible constraint at a time and rerun the same controlled workload to prove causality.
Strong answer includes
- rules out the load generator and workload model first
- correlates client symptoms with server-side telemetry by time and load level
- uses controlled reruns to prove the suspected bottleneck
Practical example
If throughput stops growing at 700 RPS while p95 rises, and the database pool is continuously full with wait time increasing at the same point, that is a stronger bottleneck hypothesis than a high CPU graph observed at some unrelated time.