Design a news feed like Facebook's
hard 50 minShow each person the best recent posts from everyone they follow, in a fifth of a second.
Where it shows up
The same pattern appears across everyday software.
A friend feed
Two-way friendships are limited in number, so pushing works for almost everyone. Pages and public figures are the exception.
A microblog timeline
One-way follows have no limit, so a few accounts have most of the followers. Delivering into ready timelines and merging the large accounts at read suits it.
A work activity list
"Your team changed three documents" is the same fan-out, with tens of followers. One database and version 1 are enough.
A shop's new arrivals
Every visitor sees nearly the same list, so one shared cached list replaces personal fan-out.
Community pages
Members read one shared list for each community. Merge a few shared lists instead of filling millions of personal ones.
News apps with alerts
The article list is pulled; only a small "breaking" hint is pushed to phones.