PracHub
QuestionsLearningGuidesInterview Prep
|Home/System Design/Bytedance

Design a Synchronized Live Comment Overlay

Last updated: Jul 22, 2026

Quick Overview

Design a live comment overlay that stays synchronized with a video during live viewing, replay, seeking, and reconnects. Explore timeline semantics, stable ordering, scalable fanout, replay queries, moderation, backpressure, and graceful degradation during traffic bursts.

  • hard
  • Bytedance
  • System Design
  • Software Engineer

Design a Synchronized Live Comment Overlay

Company: Bytedance

Role: Software Engineer

Category: System Design

Difficulty: hard

Interview Round: Technical Screen

# Design a Synchronized Live Comment Overlay Design a chat-like comment service whose messages appear as a live overlay synchronized to a video or event timeline. Viewers can publish short comments at their current playback position and receive relevant comments while watching live or replaying later. Cover publish and read APIs, message ordering, real-time delivery, storage, timeline queries, fanout, moderation, rate limits, and client synchronization. State what ordering and latency guarantees are realistic when viewers and servers have different clocks. ### Constraints & Assumptions - A popular event may have a very large concurrent audience and bursty comment traffic. - Clients may pause, seek, reconnect, or watch at different playback positions. - The overlay should remain usable under heavy load rather than rendering every accepted comment. - Comments require moderation and abuse controls. ### Clarifying Questions to Ask - Is the canonical timeline live wall-clock time, media position, or both? - Must every viewer see the same comments in the same order? - What latency, retention, replay, and regional requirements apply? - Are likes, replies, filtering preferences, or creator moderation in scope? ### What a Strong Answer Covers - A canonical event-relative timestamp and server-assigned stable ordering key - Durable append path plus scalable real-time fanout - Time-bucketed storage and range queries for replay or seeking - Sampling, ranking, backpressure, moderation, and per-user filtering - Reconnect cursors, deduplication, observability, and graceful degradation ### Follow-up Questions - How would you prevent a burst from obscuring the video? - How does a late moderation decision remove a comment from connected clients? - How would you support a global replay after the live event ends? - Which data can be processed regionally and which needs global coordination?

Quick Answer: Design a live comment overlay that stays synchronized with a video during live viewing, replay, seeking, and reconnects. Explore timeline semantics, stable ordering, scalable fanout, replay queries, moderation, backpressure, and graceful degradation during traffic bursts.

Related Interview Questions

  • Design An Ad Creative Relationship Processing System - Bytedance (medium)
  • Design a Distributed Rate Limiter - Bytedance (medium)
  • Design an RBAC Relational Schema - Bytedance (medium)
  • Design Real-Time Trending Likes - Bytedance (medium)
|Home/System Design/Bytedance

Design a Synchronized Live Comment Overlay

Bytedance logo
Bytedance
Apr 28, 2026, 12:00 AM
hardSoftware EngineerTechnical ScreenSystem Design
0
0

Design a Synchronized Live Comment Overlay

Design a chat-like comment service whose messages appear as a live overlay synchronized to a video or event timeline. Viewers can publish short comments at their current playback position and receive relevant comments while watching live or replaying later.

Cover publish and read APIs, message ordering, real-time delivery, storage, timeline queries, fanout, moderation, rate limits, and client synchronization. State what ordering and latency guarantees are realistic when viewers and servers have different clocks.

Constraints & Assumptions

  • A popular event may have a very large concurrent audience and bursty comment traffic.
  • Clients may pause, seek, reconnect, or watch at different playback positions.
  • The overlay should remain usable under heavy load rather than rendering every accepted comment.
  • Comments require moderation and abuse controls.

Clarifying Questions to Ask Guidance

  • Is the canonical timeline live wall-clock time, media position, or both?
  • Must every viewer see the same comments in the same order?
  • What latency, retention, replay, and regional requirements apply?
  • Are likes, replies, filtering preferences, or creator moderation in scope?

What a Strong Answer Covers Guidance

  • A canonical event-relative timestamp and server-assigned stable ordering key
  • Durable append path plus scalable real-time fanout
  • Time-bucketed storage and range queries for replay or seeking
  • Sampling, ranking, backpressure, moderation, and per-user filtering
  • Reconnect cursors, deduplication, observability, and graceful degradation

Follow-up Questions Guidance

  • How would you prevent a burst from obscuring the video?
  • How does a late moderation decision remove a comment from connected clients?
  • How would you support a global replay after the live event ends?
  • Which data can be processed regionally and which needs global coordination?

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Bytedance•More Software Engineer•Bytedance Software Engineer•Bytedance System Design•Software Engineer System Design

Your design canvas — auto-saved

PracHub

Master your tech interviews with 8,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • AI Coding Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.