Interview practice question
Design trending hashtags
System Design · Design: Social and Messaging · Intermediate
Design a system that shows the top 10 trending hashtags per country, updated every minute.
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Post events → Kafka.
- Stream job counts hashtags per country per window.
- Velocity vs baseline scoring.
- Top-K with heaps/count-min sketch.
- Store results in cache for reads.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.