System Design Patterns: From Fundamentals to Real Systems
0% completed
MapReduce
The store's app records a click event every time a shopper views a product or places an order. On a normal day, 20,000 events arrive each second, and each event is about 1 KB. That is 20,000 × 86,400 = 1,728,000,000 events a day, or 1.728 TB. The merchandising team wants one table from the last 30 days of these events: for each of the store's 500,000 products, how many views, how many orders, and the conversion rate (orders divided by views).
Thirty days of clicks is 30 × 1.728 = 51.84 TB
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%