Requirements
What it is
Circle, a made-up social network, ranks each user's feed. Clarify:
- scale: 100,000,000 daily users, about 5 sessions each; each session has on the order of 1,500 eligible posts;
- content: posts from friends, groups and followed pages: text, photos, videos, links;
- latency: the first screen within about 300 ms; more as the user scrolls;
- goal: people see posts that matter to them, and leave feeling the time was worthwhile; not just more scrolling;
- constraints: integrity (misinformation, hate, spam) and user controls (unfollow, snooze, 'see less').
Why it matters
A feed is a ranking of everything a user could see, not a search over a catalogue.
- The candidate set is defined by the user's connections, which makes retrieval simpler and ranking harder.
- Choosing what 'good' means is the central design decision.
In the real world: Meta has publicly described ranking more than a thousand eligible posts per person per visit, for billions of people, using many models in parallel.
Proposing chronological order as the whole answer. It is a valid baseline and a user option, but at a thousand posts per session most of what matters is buried.