LinkedIn Professional Network · View 14 of 30 · 5 · Runtime
Decisions
- The broker merges three candidate sources (inbox, FollowFeed, recommendations), so the storage strategy and the ranking can evolve separately
- Every downstream call has a deadline inside the 300 ms budget; a late source is dropped, never waited for
- Decoration happens last, so an edited or deleted post, and a changed privacy setting, take effect at read time
Latency budget (assumed split)
- Session and context 15 ms · candidates 80 ms, fetched in parallel · features 40 ms
- Second-pass rank 60 ms · decorate 50 ms · margin 55 ms
- FollowFeed runs over 720 partitions with first-pass ranking on the index nodes (LinkedIn, 2016)
Risks
- Decoration fans out to many services. Couchbase absorbs it, and a burst of cache misses is the most common cause of slow feeds
- Actors with millions of followers concentrate FollowFeed reads, so their timelines are replicated