Identify the K Most Shared Articles in Various Time Windows — System Design Interview Practice
Design a system to track and identify the top K most shared articles in real-time across different time windows. Work through the requirements, architecture trade-offs, and an interactive design review.
Requirements and concepts to consider
- Track article shares in real-timeRequirement
- Identify top K articles in different time windows (5 min, 1 hour, 24 hours)Requirement
- Handle millions of shares per dayRequirement
- Update rankings in near real-timeRequirement
- Support historical queriesRequirement
- Scalable to billions of articlesRequirement
- analyticsConcept to explore
- real timeConcept to explore
- rankingConcept to explore
- streamingConcept to explore
- top kConcept to explore