Skip to content
Hard Design: News Feed (Facebook/Twitter)

What approach does Facebook use to serve a single user's news feed from pre-computed data?

— Tests your understanding of this concept.

Answer Options

A Dynamic SQL query on every request
B Pre-computed feed stored in Redis sorted set, hydrated with full post data on read
C Store full post content in Redis
D Query each followed user's timeline separately and merge

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 22+ more Design: News Feed (Facebook/Twitter) questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Design: News Feed (Facebook/Twitter) topic (System Design Cases).

More Design: News Feed (Facebook/Twitter) Questions