The Question
Design
Scalable Social Media Newsfeed Design
Design a highly available and scalable photo-sharing newsfeed system capable of supporting 100M daily active users. The system should handle high-volume photo uploads, follow relationships, and provide a low-latency feed retrieval experience while addressing the challenges of massive fan-out for high-profile users (the celebrity problem).
S3
Kafka
Redis
CDN
PostgreSQL
ZSet
Pre-signed URLs
HPA
JWT
March 14, 2026