Back to Templates Open in Playground
Social Media Feed
A social media feed system generates a personalized timeline of content for each user. It aggregates posts from followed users and ranks them based on relevance. The system is designed for a high read-to-write ratio with focus on fast feed generation.
Key Components
Fanout Service
Feed Generation Service
Ranking/ML Service
Redis Cache
Post Database (Cassandra)
User Graph Database
Design Challenge
Generating personalized feeds for millions of users with low latency, especially the celebrity problem with massive follower counts.