Skip to content

ONE QUESTION. YOUR REASONING.

Design Twitch

Design a live streaming service like Twitch: a streamer goes live, viewers watch a few seconds behind, and everyone chats.

System designStreaming and mediaSenior

YOUR BRIEF

What to work through

Work through twitch as a spoken system design interview. Start by clarifying the scope, sketch a working design and explain the trade-offs behind your choices.

  • A streamer broadcasts live audio or video
  • Viewers watch the stream on any device and network
  • Viewers post chat messages and see others’ in near real time
  • Viewers find live streams to watch

BEFORE YOU START

Constraints to discuss

  • Viewers see the stream a few seconds behind the streamer
  • Chat messages reach viewers in under 200 ms (Hello Interview, for live comments)
  • Millions of live streams at once, some with huge audiences
  • Availability over consistency for chat
Need a starting point?

Watch for these common gaps as you prepare:

  • Polling for new chat messages
  • Treating live video like uploaded video and waiting for the full file
  • Broadcasting every chat message to every server
  • No plan for reconnects, so viewers miss or repeat messages
Read: System design questions and who asks them

Why this question is in the collection

These sources connect the problem to company interview reports or preparation guides. They do not guarantee what a company will ask you.

KEEP GOING

Your next question

Storage, files and linksDesign BitlyInfrastructure and platformDesign a rate limiterInfrastructure and platformDesign an A/B testing platformInfrastructure and platformDesign an ad click aggregator
Browse the collection
01

Pick a question

Read the brief and choose what you want to work on.

02

Talk it through

Explain your thinking. Respond to follow-ups. Draw when a design needs it.

03

Find your next improvement

Use the feedback from your interview to decide what to practise next.