Code Room
System designHardsd-g255
Subject TranscodingLevel Senior–Staff~45 minCommon in Distributed systems interviewsIndustries Technology

Question

Design a cost-optimized encoding strategy for a catalog with extreme view-count skew: the top 1% of titles drive 80% of watch time, while millions of long-tail titles are watched rarely or never. Encoding the full high-quality rendition ladder for every title up front wastes enormous compute and storage on content nobody watches. Design how you decide what to encode, when, and at what quality, while keeping playback experience good for both head and tail content.

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.

Narrate your design
Loading whiteboard…
Run or narrate your approach, then ask the coach.