How it works
A feed is a personalized view of posts, not a single shared list. For this design, people publish text with optional images or video, follow other accounts, and read a home timeline on mobile or web. Assume a reverse chronological (newest first) release with at most a few thousand follows per account. Search, ads, stories, and recommendations can be separate designs.
Ask whether follows require approval, whether posts can be private, and what a block or mute means. State a freshness goal for ordinary posts, the peak publish and refresh rates, active readership, expected media size, and how far people scroll. A small forum with one shared list needs none of the machinery that follows, which exists because each reader’s view differs.
Example numbers show why skew matters. With 8 million daily readers loading the feed 12 times a day, reads average about 1,100 per second (96 million ÷ 86,400). If 2 million daily posts reach 200 followers on average, that is 400 million timeline writes, about 4,630 per second. One author with 5 million followers adds 5 million writes from a single post, roughly 8 minutes of work at 10,000 writes per second. This distribution work is called fanout.
Keep three operations distinct: accepting a post durably, making it eligible in followers’ feeds, and rendering a feed page. A successful publish response need not mean every follower has already received an entry; the product must say what delay is acceptable.
The brief says “show friends’ posts instantly.” Which promises need precise definitions before sizing a design?
Clarify follow or friendship rules, private audiences, ranking versus recency, acceptable post-to-feed delay, peak active readers and publishers, and how much media is included. “Instant” needs a measurable target.
Use this as a guide for self review; written answers are not graded.Keep in mind
- Define audience and visibility before choosing fanout.
- Separate durable publishing, feed eligibility, and page rendering.