AlgoMaster Logo

Design Live Comments

Ashish

Ashish Pratap Singh

medium

In this chapter, we will aim to design a low-latency, scalable live comment system that allows thousands or even millions of users to exchange messages in real time during a live event.

Key challenges include:

  • Latency: Messages must be delivered in near real-time.
  • Fanout: A single message needs to be broadcast to millions of subscribers simultaneously.
  • Ordering: Comments should appear in a logical, roughly chronological order.

Let’s begin by clarifying the requirements.

1. Clarifying Requirements

Premium Content

This content is for premium members only.