What happens to your feed when delivery falls behind?
One skill · 5 minutes · Speak or type · Whiteboard optional
The challenge
Design delivery for a social feed with mostly ordinary accounts and a few authors with millions of followers. New posts should normally appear within a few seconds; immediate visibility to every follower is not required. In five minutes, choose what happens on write and on read, and explain how a slow fan-out queue affects readers.
Try a 5-minute design challenge
Try the interview without an account. Create a free account to see your report.
Illustrative example — not your assessment
An invented, synthetic answer to a different challenge: Can two requests claim the same short URL?
I generate a random code and conditionally create the mapping. If another link already owns it, I generate another code and retry within a bounded policy.
This is an invented example written for this page, not a customer answer.
About this challenge
Read this after you have tried the challenge. It explains one approach.
Fan-out on write moves work toward publication by updating recipient feeds. It does not guarantee that every update is immediately visible. A queue can lag, a replica can be behind, and a cache can serve an older result. Fan-out on read moves assembly toward the read path, with a different cost profile. A hybrid is one option for high-follower accounts; it is useful only when its added complexity fits the workload. Choose a strategy, name where delay can occur, and explain how you would measure freshness. Keep your pagination assumptions consistent with the live or snapshot behavior you choose.
Explain a backed-up fan-out queue
More challenges
MockSchool AI offers AI-driven interview practice. Feedback is practice feedback on the part of the answer you give, not a prediction of any interview outcome.