Interview practice question
Synced comments on video timeline
System Design · Design: Commerce and Media · Intermediate
Design a feature where viewer comments appear at specific moments of a video, like danmaku-style overlays.
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Store comments with video timestamp.
- Fetch comments by time range as playback progresses.
- Precompute buckets per segment.
- Sample popular videos' comments.
- Cache per segment.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.