HardDesign: 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

ADynamic SQL query on every request
BPre-computed feed stored in Redis sorted set, hydrated with full post data on read
CStore full post content in Redis
DQuery 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