Self-Test
Question 1
A video is uploaded and, within the first hour, gets an unusually large, fast spike of views — well past the "expensive codec" threshold within that hour. Walk through, stage by stage, what a viewer requesting this video at minute 5, minute 90, and hour 6 would actually receive, and why those three answers differ.
Show answer
At minute 5 (see Upload), only the fast-path rendition exists — the cheap, universal codec — because progressive publish deliberately doesn't wait for the full ladder; the viewer gets that, low resolution, full stop. At minute 90, the view spike has been detected, but the Processing part’s re-encode pipeline takes real wall-clock time even with parallel chunked transcoding — cheap-codec HD, and possibly the mid-tier codec, may exist by now, but the most expensive codec almost certainly doesn't yet, because crossing the popularity threshold triggers the expensive encode job, it doesn't retroactively make it instantaneous. This viewer is also hitting the Global distribution part’s distribution layer at a moment where cache replication is racing to catch up — early requests are more likely to be cold misses traveling further back in the hierarchy, adding latency the Adaptive playback part’s ABR algorithm may misread as a bandwidth drop. By hour 6, the expensive encode has very likely completed, and the Global distribution part’s caches have had time to fully replicate the now-clearly-popular content to edge tiers — this viewer gets the efficient codec and a warm, fast cache hit. The three viewers see genuinely different systems in different states, purely as a function of how much time has passed for the asynchronous "react to popularity" pipelines (see Processing and Global distribution) to catch up.
Question 2
A competing platform reasons: "Bandwidth is the dominant long-run cost, and the best codec saves ~45–50% bandwidth forever — so let's just use it for everything at upload, and accept the higher one-time encode cost as the price of doing it right." Where does this reasoning break down at real upload volume, and what would you tell this team to do instead?
Show answer
The Processing part’s numbers show why: the most efficient codec costs roughly 18x the cheap codec's encode time. That 18x is paid once, per video, unconditionally under an "encode everything" policy — but the bandwidth saving only accrues per view, and view counts are power-law distributed, meaning the overwhelming majority of uploads will never accumulate enough views to repay an 18x encode premium in saved bandwidth. At real upload volume, eagerly using the expensive codec on the entire long tail burns enormous aggregate compute for savings that mostly never materialize. The fix isn't to abandon the efficient codec (the head of the distribution genuinely justifies it many times over) or to use a cheap codec uniformly (that forfeits real savings on popular content) — it's to gate the expensive encode on a popularity signal observed after upload, and to invest in encode-side infrastructure (custom silicon) that lowers the breakeven view-count threshold over time rather than trying to guess popularity at upload time.
Question 3
Why does Origin storage deliberately not try to be fast enough to serve real playback traffic directly, given that Colossus is itself a large, well-engineered distributed storage system?
Show answer
Because "durable and authoritative" and "serves millions of concurrent reads of one popular object" are different engineering problems with different solutions, and conflating them makes both harder. Colossus is optimized for durability, capacity, and being a single source of truth — properties that matter regardless of how popular any given object is. Serving read-heavy, skewed, popularity-driven traffic is instead solved by the Global distribution part’s caching hierarchy, which can be aggressively read-optimized and geographically distributed precisely because it doesn't also have to guarantee durability — every cache node is disposable and rebuildable from origin on a miss. Trying to make one system do both jobs well would mean either a fragile origin under real production load, or a caching layer that's also trying to be a durable source of truth, which defeats the purpose of caches being cheap and replaceable.
Question 4
Why is it architecturally significant that DASH (see Adaptive playback) puts the quality decision on the client rather than the server, given how the Global distribution part’s distribution layer is built?
Show answer
The Global distribution part’s entire cache hierarchy — GGC nodes inside ISPs, regional shield tiers, origin — works because any cache node can answer any request for any segment with zero memory of that specific client's prior requests; that statelessness is what lets an arbitrary cache node serve an arbitrary viewer's request for an arbitrary segment. If quality decisions instead lived server-side (the server tracking each client's bandwidth history and pushing bitrate choices), every cache node in the hierarchy would need to maintain and share per-client state to make consistent decisions — directly undermining the interchangeable, stateless design that makes the Global distribution part scale in the first place. DASH's client-driven design isn't an arbitrary implementation choice; it's a precondition for the Global distribution part’s caching architecture to work at all.