PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/System Design/Microsoft

Design a live-stream comments system

Last updated: Mar 29, 2026

Quick Overview

This question evaluates design skills for scalable, low-latency real-time comment systems, covering architecture, data modeling, APIs, ingestion and fanout strategies, streaming/messaging trade-offs, and operational concerns such as rate limiting, backpressure, and failure handling.

  • hard
  • Microsoft
  • System Design
  • Software Engineer

Design a live-stream comments system

Company: Microsoft

Role: Software Engineer

Category: System Design

Difficulty: hard

Interview Round: Technical Screen

## System Design: Live-stream comments (YouTube Live-style) Design a system that supports real-time comments for live video streams. ### Core features - Users can post comments to a specific live stream. - Viewers of that stream see new comments appear in near real time. - The system must handle “hot” streams with very high QPS (orders of magnitude larger than normal streams). ### Requirements to clarify - Latency target (e.g., p95 end-to-end publish → visible under 500 ms). - Ordering expectations (strict total order vs best-effort vs per-user ordering). - Fanout scale (viewers per stream), and whether all viewers must see all comments. - Moderation features (spam detection, toxic content filtering, blocklists, slow mode). - Retention/replay (store comments for VOD playback and auditing). ### Deliverables - High-level architecture and major components. - Data model and APIs. - How you scale ingestion and fanout, especially for hot streams. - Justify the choice of streaming/messaging tech (e.g., Kafka vs other MQ/pubsub options). - Backpressure, rate limiting, and failure handling.

Quick Answer: This question evaluates design skills for scalable, low-latency real-time comment systems, covering architecture, data modeling, APIs, ingestion and fanout strategies, streaming/messaging trade-offs, and operational concerns such as rate limiting, backpressure, and failure handling.

Related Interview Questions

  • Design A Scalable Web Crawler - Microsoft (medium)
  • Design User Re-engagement Notifications - Microsoft (medium)
  • Design a typeahead search service - Microsoft (hard)
  • Design a Secure Copilot API - Microsoft
  • Design a URL Shortener - Microsoft (hard)
Microsoft logo
Microsoft
Jan 22, 2026, 12:00 AM
Software Engineer
Technical Screen
System Design
5
0
Loading...

System Design: Live-stream comments (YouTube Live-style)

Design a system that supports real-time comments for live video streams.

Core features

  • Users can post comments to a specific live stream.
  • Viewers of that stream see new comments appear in near real time.
  • The system must handle “hot” streams with very high QPS (orders of magnitude larger than normal streams).

Requirements to clarify

  • Latency target (e.g., p95 end-to-end publish → visible under 500 ms).
  • Ordering expectations (strict total order vs best-effort vs per-user ordering).
  • Fanout scale (viewers per stream), and whether all viewers must see all comments.
  • Moderation features (spam detection, toxic content filtering, blocklists, slow mode).
  • Retention/replay (store comments for VOD playback and auditing).

Deliverables

  • High-level architecture and major components.
  • Data model and APIs.
  • How you scale ingestion and fanout, especially for hot streams.
  • Justify the choice of streaming/messaging tech (e.g., Kafka vs other MQ/pubsub options).
  • Backpressure, rate limiting, and failure handling.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More System Design•More Microsoft•More Software Engineer•Microsoft Software Engineer•Microsoft System Design•Software Engineer System Design
PracHub

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

Product

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

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL 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.