“Instead, we’ll do it the hard way – we’ll check passwords offline.”
A 37 GB file of breached password hashes, searched in under a millisecond in plain Python. The trick is a sorted file and a small index. No database, no cluster, no cloud bill. Most “big data” problems are a binary search someone was too lazy to write.