+During load testing with 50 concurrent users on a 1 vCPU, 4GB RAM VPS, we observed that the login endpoint was a bottleneck, showing high latency and a large number of rate-limited requests. The root cause was the use of PBKDF2 password hashing with an iteration count set for maximum security (400,000), which proved too computationally expensive for the available infrastructure. This led to CPU saturation, slow logins, and aggressive rate limiting under load, while other endpoints remained unaffected.
0 commit comments