Capstone: a global flash sale for MegaMart, in 45 minutes
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.
01 · Previously
W02 · BOSS · The Ultimate System Design Interview
Two weeks of tools. One interview.
Previously: distributed cron
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.
0:00 / 20:11