← Quiz: Design a News Feed: all 10 questions
Quiz: Design a News Feed · Question 6 of 10
Why store post ids rather than full posts in each follower's feed list?
Why store post ids rather than full posts in each follower's feed list?
- A.Ids are encrypted
- B.It saves memory and an edited post changes in only one place
- C.Redis cannot store text
- D.It makes the feed sorted automatically
Answer & explanation
Correct answer: It saves memory and an edited post changes in only one place
Details are fetched (and cached) once per post, not copied into millions of lists.
Can you get the rest right without peeking?
Take the timed Quiz: Design a News Feed quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →