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

Quiz: Design a News Feed · Question 10 of 10

Why should fan-out happen through a message queue?

Why should fan-out happen through a message queue?

  1. A.Queues make posts private
  2. B.So creating a post returns quickly and workers deliver to followers in the background
  3. C.Queues remove the need for a database
  4. D.It makes reads faster for celebrities
Answer & explanation

Correct answer: So creating a post returns quickly and workers deliver to followers in the background

Delivery to hundreds of followers is slow work that should not block the user.

Can you get the rest right without peeking?

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

Start the quiz →