Design the trending service of a large video platform. Every view of a video is reported as an event, and a trending page shows the most viewed videos of the last minute, the last hour and the last day, for the whole world and for each country.
This is a 45-minute system-design interview. The interviewer knows the product requirements and the expected load: ask before you design. Then lay out the components, the API and the data model, and explain how the system stays fast and available as traffic grows.
What the check looks at
Requirements, API and data model, architecture, scaling, reliability, trade-offs.
The interview runs on a tablet or a computer.