Netflix: Season Premiere at Midnight
Hard · system design problem
Midnight premiere: five times the viewers, every edge cold for the new episode, an origin that cannot scale — and then recommendations slow to a crawl.
Video segments are served by the CDN; misses go to the packager (6 instances with hardware encryption keys — there are no more) and S3. The app’s home screen comes from home-api, which calls the recommendations service and the catalog. At T+20s the new season drops: viewers ×5 and browsing ×2 for the rest of the hour, and no edge has the new episode cached. At T+60s recommendations degrade under the load: calls take a second. A home screen without personalised rows is acceptable; a blank one is not.
Topics
More
Codelays runs in your browser: turn on JavaScript to use it.