๐๏ธ Load-test a server like a QA engineer
Software & CloudA load test uses virtual users (VUs) that each send a request, wait (think time), and repeat. Find how many VUs reproduce real traffic, and where response time starts to explode.
โญ Level 1: Trainee0 XP ยท next level at 300
Throughput31 req/s
Server busyโ 3%
Response timeโ 206 ms
The server copes at this load.
๐ How it works
With think time, throughput = users รท (think + response) (Little's law). As the server gets busy, requests queue and response time climbs, slowly at first and then sharply near 100%. Load tests look for that knee.
X = VUs รท (think + R) ยท R = Rโ รท (1 โ utilisation)A simplified textbook model for learning. Real designs follow the full codes and standards.