ca098433
80cd29f3
the celebrity fanout question is THE classic follow up for any social media system design. the answer is always: push for normal users (small follower count), pull for celebrities. use a threshold (eg 10k followers) to decide. cache the celebrity stories in CDN and let followers pull on read
acdda870
i got this exact question for E5 last year. passed. the key insight they want is that stories are ephemeral so you can use TTL-based storage and avoid the deletion complexity. i used redis with TTL for the timeline and S3 with lifecycle policies for media
0a902512
45 min for a system design this complex is always tight. dont beat yourself up. they care more about your APPROACH than whether you covered every edge case