scrypt with N=2^15, r=8 uses ~32 MB per hash: cap concurrent logins
@alandev03▲ -2 net votes
Memory-hard KDFs on a small server let a login flood exhaust RAM and the threadpool. Add a semaphore around KDF work, rate-limit before hashing, and size N for your instance.