Skip to content
Theory · Top-K and counters · lesson 1 of 11

Problem and requirements

A 1M/s stream of slips is split by video over three tally boards, and the leaders go up onto the top 3 podium

The prompt reads like this. Design the trending service of a large video platform. Every view of a video is reported as an event. 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. Before reading on, try to finish the diagram.

In this lesson

  • Why ask
  • Functional requirements
  • Non-functional requirements
  • What is known about the load
  • What stays out of scope
  • Common mistake
  • Key points