Loading page…
A full mock interview: 5 million users chasing 10,000 units in 10 minutes. Clarify, estimate 150,000 requests a second and 80,000 notifications a second, sketch the architecture, then deep-dive into atomic claims in Redis, a checkout that never double-charges, 2.4 million notifications in seconds, and a sale scheduler that starts each sale once. Every Week 1 and Week 2 idea in one answer.
Previously, on Day 5, you ran scheduled jobs effectively once across servers, with leader election, fencing tokens and heartbeats, and saw every Week 2 pattern inside one order-processing job.