SystemKit

Design a podcast publishing and listening platform

Apply the video pipeline to audio, where files are small, position saves far outnumber plays, and the biggest spike arrives on a published schedule.

The brief

Creators upload episodes to a show and schedule their release. Listeners stream or download episodes in your app, and other podcast apps read a public RSS feed (an XML list of episodes with links to audio files). A listener who stops on one device should be able to resume on another. A popular show releases new episodes at an announced time, and that must not degrade the service. Keep recommendations, search, comments, and transcripts outside this exercise.

  • 2 million daily listeners play 2 episodes a day, for 40 minutes each on average, at 128 kbit/s. Use decimal units and 86,400 seconds per day.
  • Peak traffic is 3 times the daily average. Playing clients save their listening position every 30 seconds.
  • Creators publish 20,000 episodes a day. Each source averages 100 MB, and encoded outputs add 60 MB per episode. Estimate one year of storage, before replicas.
  • A popular show releases an episode at an announced time, and 500,000 listeners start it within 15 minutes, on top of normal traffic.
  • An episode must not appear in feeds until its audio is playable. Position may lag by up to a minute across devices, and listening done offline must sync later without overwriting newer progress.

Reading a design isn’t the same as producing one under a clock. Try it timed: the requirement change stays hidden until partway through.

Loading your draft…

State your scope and assumptions. Estimate play rate, delivery bandwidth, concurrent listeners, position-save rate, one year of storage, and the added load from the launch. Keep units visible.

0 / 4,000 characters

Name the components and what each stores. Trace one publish, one play with resume on a second device, and one fetch by a third-party app reading your feed. An arrow list is enough.

0 / 4,000 characters

Choose a likely bottleneck and the evidence for it. Explain how you prepare for the scheduled launch, and what listeners experience if the position store is unavailable during it.

0 / 4,000 characters

Respond to the per-listener ads change below. Explain what can still be cached, how offline and RSS downloads are handled, and how saved positions stay correct.

The requirement changesAdvertisers now want different ads for different listeners, inserted into episodes at play time, while each episode's content stays the same for everyone. What happens to your caching, offline downloads, RSS-delivered files, and saved positions?

0 / 4,000 characters

Write an initial response in all four sections to unlock the checklist and two worked approaches.