Back to All 55 System Design Questions
#13Hard

Identify the K Most Shared Articles in Various Time Windows (24 hours, 1 hour, 5 minutes)

Asked by:LinkedInFacebookTwitter

Recommended Solutions from the Web

Key Details & Edge Cases You Should Know

At its core - what algorithm would you use? Count Min Sketch? or some other?

How will you ensure that each new update (share) is fast?

How do you use caching to improve read performance?

How will you scale this as updates get very frequent?