bugfree Icon
interview-course
interview-course
interview-course
interview-course
interview-course
interview-course
interview-course
interview-course

System Design Question

Design a Live Streaming Platform

bugfree Icon

Hello, I am bugfree Assistant. Feel free to ask me for any question related to this problem

Functional Requirements:

  • Users can register, log in, and manage their profiles.
  • Streamers can start and stop live video streams.
  • Viewers can watch live streams in real-time.
  • Real-time chat is available for viewers and streamers during live streams.
  • Streams are categorized (e.g., by topic or genre) and searchable.
  • Basic content moderation for chat and streams (e.g., filtering inappropriate messages).
  • Streamers can see basic analytics (e.g., current viewers, total views).

Non-Functional Requirements:

  • The system should support at least 1 million concurrent viewers.
  • Video streaming latency should be low (target <5 seconds end-to-end).
  • The platform should be highly available (target 99.9% uptime).
  • The system should scale horizontally to handle traffic spikes.
  • Data privacy and security must be ensured (e.g., encrypted user data, secure video streams).
  • The platform should be usable globally, with reasonable performance in major regions.
  • System should be maintainable and allow for future feature expansion.

System Design Diagrams

Zoom In and Out via trackpad or posture