Engineering
I built a replica of production to load test my Django app. It held 10 users.
I copied production's CPU, memory and connection limits into Docker, drove it with Locust and per-kind p95 limits, and found the ceiling in 8 seconds.
Series · 2 parts so far
How I built a faithful replica of production, found the ceiling, and moved it from 10 to 140 users at once, with the numbers from every run.
Engineering
I copied production's CPU, memory and connection limits into Docker, drove it with Locust and per-kind p95 limits, and found the ceiling in 8 seconds.
Engineering
One slow write tripped the p95 rule, 15 ms database round trips capped throughput at 42 req/s, and the load found three bugs. After the fixes, 140 users.