Grokking the System Design Interview, Volume II
0% completed
Step 2: Requirements
Most requirements in a flash sale follow from one fact: the stock runs out long before the requests do. The functional requirements describe what a buyer can do and what the system guarantees while they do it. The non-functional requirements describe the load the system must survive.
Functional requirements
- Browse sale items. Users in any region see the sale products with their price and remaining stock. The stock shown is close to real time, but the count that decides a purchase is always checked again on the server.
- Attempt a purchase. A user claims an item with one action
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%