Back to problems

Trending Hashtags

System Design · Meta · Hard

Requirements Continuously consume Facebook posts and identify the hashtags they contain. Mark a hashtag as trending before the associated offline event has passed, aiming for roughly one minute of end-to-end delay. Evaluate posts from a rolling 24-hour period, assigning greater influence to newer activity. Ensure popularity represents interest across a wide set of communities rather than repeated posts from one small group. Include novelty: a trend must either concern a…

Checking your access…