Lesson 1

How a Post Reaches Your Feed

The big picture: Post Pipeline + Blending Pipeline, two candidate pools

The Big Picture

Every time you open X, the For You feed is assembled fresh. The work is split between two pipelines:

Post Pipeline

Finds, ranks, and filters posts. This is where the ranking model lives.

Blending Pipeline

Wraps the Post Pipeline and adds what the model doesn't rank: ads, Who-to-Follow recommendations, and prompts.

Two Candidate Pools

Posts come from two sources, scored by the same model:

PoolSourceWhat it holds
In-Networkthunder/Recent posts from accounts you follow, kept in memory
Out-of-Networkphoenix/ + simclusters/Posts from accounts you don't follow, discovered via ML retrieval and cluster similarity

Both pools are ranked together — there's no separate "following" ranking model. An out-of-network post can beat an in-network post if its predicted engagement is higher.

The key insight: the same scoring model evaluates every candidate, regardless of where it came from. The only difference is that out-of-network posts get a discount factor applied (see Lesson 4).

Check Your Understanding

1. What are the two candidate pools that feed the For You feed?
  1. A. In-network and out-of-network✓ correct
  2. B. Liked and retweeted
  3. C. Recent and trending
  4. D. Followed and suggested

Why: In-network (Thunder) holds recent posts from people you follow. Out-of-network (Phoenix/SimClusters) discovers posts from accounts you don't follow.

2. What does the Blending Pipeline add that the Post Pipeline doesn't rank?
  1. A. Replies and quotes
  2. B. Ads, Who-to-Follow, and prompts✓ correct
  3. C. Image filters
  4. D. Trending topics

Why: The Blending Pipeline wraps the Post Pipeline and inserts ads, Who-to-Follow recommendations, and prompts — things the ranking model doesn't score.

3. Are in-network and out-of-network posts scored by different models?
  1. A. Yes, each pool has its own model
  2. B. No, the same model scores both✓ correct
  3. C. Only replies use a different model
  4. D. It depends on the viewer's account age

Why: Both pools are ranked by the same model. Out-of-network posts get a discount factor, but the scoring logic is identical.

Exercise

Open your For You feed. Find one post from someone you follow and one from someone you don't. Notice how both appear in the same stream — the model ranked them together.

Hint: Look for the "Followed by X" or "You might like" labels that sometimes appear on out-of-network posts.

How a Post Reaches Your Feed | Qubax Growth Lab · Qubax AI