Playground · Easy line · Station E9

Login and authentication

Log in 1,000 people a second, check 6,000 sessions a second, and stop password-guessing bots.

A payroll app handles 1,000 logins a second on Monday mornings, and checks a session token on 6,000 requests a second. Checking a password is slow on purpose, so stolen password lists are useless. Right now 4,000 bots a second are guessing passwords.

Session checks
6,000/s
Password-guessing bots
4,000/s
Logins
1,000/s
Budget
$1,100/mo
Speed
under 200 ms
Must
Survive a crash

Reported in interviews at Google, Visa, Gusto