🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← All topics

Quiz: Design a News Feed: questions with answers

10 questions, each with the answer and a short explanation.

Take the timed quiz + get a certificate →
  1. Q1. What does "fan-out on write" mean for a news feed?
  2. Q2. Why is pure fan-out on write a problem for an account with 50 million followers?
  3. Q3. What is the usual hybrid solution?
  4. Q4. What does this print? (code)
  5. Q5. 100 million users open the feed 10 times a day. Roughly how many feed reads per second is that?
  6. Q6. Why store post ids rather than full posts in each follower's feed list?
  7. Q7. What does this print? (code)
  8. Q8. Why is eventual consistency acceptable for a news feed?
  9. Q9. Which pagination should the feed API use?
  10. Q10. Why should fan-out happen through a message queue?