Practice problems · Topic
Fan-out problems
Covers push on write, pull on read, the hybrid for celebrities.
Fan-out problems are about one event reaching many readers. Writing a post into every follower's feed makes reads cheap and celebrity posts expensive, and gathering posts at read time does the opposite, so a strong design picks per author and says where the line between the two sits.
Problems that need fan-out
Fan-Out on Write vs Read: Practice
Copying each post to every follower works until one author has millions. Choose fan-out on write, on read or a mix, then run it against a TV chef.
By GOAT Engineer. Practice problems · Privacy Policy · Contact.