Code RoomLive DVR and time-shift
MediumPrep Room Coding #3379

Live DVR and time-shift

System designDistributed systemsMid–Senior~40 min

Design the DVR / time-shift and live-to-VOD system for a live event platform. While a stream is live, viewers must be able to pause, rewind, and seek backward to any earlier point in the broadcast (full DVR window), and the moment the stream ends the full recording must be available as on-demand VOD with seeking and chapters, ideally within seconds. A single event can be 12 hours long with millions of viewers. Design the segment storage, the manifest, and the live-to-VOD transition.

What a strong answer looks like

Clarify scale and constraints first. Propose a clean component breakdown, then go deep on the hard parts (data model, bottlenecks, consistency, failure modes) and name the trade-offs you are making.

Clarify4:30 left
Estimate4:30 planned
Design13:30 planned
Deep dive10:30 planned
Failure7:00 planned
0:00
Which questions mattered is sealed until you submit. Telling you now would just be handing over the edge cases.