System Design
Design a social media news feed system like Facebook or Twitter
Two approaches for feed generation: fan-out on write (push posts to followers' caches -- fast reads, expensive writes) and fan-out on read (pull at read time -- cheap writes, slow reads).