System Design Classic
A news feed system generates personalized content streams for each user by aggregating posts from their connections and ranking them by relevance. The core challenge is the fan-out problem: when a user with millions of followers posts, how do you update millions of feeds efficiently? Recommended for engineers building social platforms where personalized content delivery and fan-out scalability are critical to user engagement.
Share this architecture with your network
Feed generation uses a hybrid fan-out: posts from regular users are pre-computed into follower feeds stored in Memorystore, while posts from high-follower users are merged at read time. Pub/Sub handles the real-time event stream for feed updates. The ranking service runs on Cloud Run with ML-based scoring models. Firestore stores the social graph with subcollection patterns for efficient follower lookups.
Multi-Tenant SaaS Platform
Generic SaaS
Production-ready multi-tenant SaaS with tenant isolation, feature flags, usage metering, and self-serve onboarding.
Notification System
System Design Classic
Multi-channel notification system on Azure supporting push, email, SMS, and in-app notifications with Event Grid fan-out.
Dropbox File Storage System
Dropbox
Cloud file storage on Azure with chunked uploads to Blob Storage, delta sync, deduplication, and cross-device synchronization.
Chat Application System
System Design Classic
Real-time 1-on-1 and group chat on Azure with SignalR delivery guarantees, read receipts, typing indicators, and offline support.
Search Autocomplete System
System Design Classic
Real-time search suggestions on GCP with Memorystore trie, frequency-based ranking, and personalized results via Pub/Sub streaming.
Instagram Photo Sharing System
Instagram / Meta
Photo and video sharing platform on Azure with Blob Storage, CDN delivery, feed generation, stories, and Computer Vision image processing.
News Feed System
Remix this architecture in Canvas