🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Design a Video Streaming Platform: all 10 questions

Quiz: Design a Video Streaming Platform · Question 10 of 10

How should a platform count millions of views per minute?

How should a platform count millions of views per minute?

  1. A.Update the video's database row for every view
  2. B.Count only once a day by reading CDN invoices
  3. C.Increment counters in a fast store like Redis and write them to the database in batches
  4. D.Ask viewers to report their views
Answer & explanation

Correct answer: Increment counters in a fast store like Redis and write them to the database in batches

Batching turns millions of tiny writes into a few, and slightly delayed counts are acceptable.

Can you get the rest right without peeking?

Take the timed Quiz: Design a Video Streaming Platform quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →