SYSTEM DESIGN - EX3
1. Amazon's sales rank by category feature
1.1. Requirement & scope
// Use cases
User: views lwmppbc
Service: calculates lwmppbc (last week's most popular products by category)
Service: high availability
// Out of scope
other e-commerce components// Assumptions
Not even traffic
Items can be in multiple categories
Items cannot change categories
no subcategories
updated hourly / frequently update for more popular products1.2. Calculation
1.3. Design
1.4. Core
1.4.1 Use case: Service calculates lwmppbc
1.4.2 Use case: User views lwmppbc
1.5. Scale
2. Scales to millions of users on AWS
2.1. Requirement & scope
2.2. Calculation
2.3. Design
2.4. Core
2.4.1 User makes a read or write request
Last updated







