← 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?
- A.Update the video's database row for every view
- B.Count only once a day by reading CDN invoices
- C.Increment counters in a fast store like Redis and write them to the database in batches
- 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 →