advancedTop 15 System Design Questions
Design a social media analytics dashboard showing real-time metrics.
Event ingestion: Kafka for all social events (likes, shares, comments, views) Real-time counters: Redis INCR/INCRBY for live counts per post Time-series: Redis Sorted Set for events per minute; ZRANGEBYSCORE for window Aggregations: Kafka Streams or Flink for real-time aggregate computation Dashboard storage: Redis for current metrics; Cassandra for historical time-series Trending: sliding window
Ready to master this question?
Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.
Sign in to generate a response