AlgoInsight

System design interview question

Design a Real-Time Feed Ranking System for a Social Media Platform (10M DAU, 500M feed impressions/day)

MediumHLDHLD practice

Design a distributed system that ranks and serves personalized feeds for a social media platform with 10 million daily active users generating 500 million feed impressions per day across multiple geographies. Users follow 100-1000 accounts each, and the system must deliver ranked feeds within 200ms p99 latency while handling real-time events (new posts, likes, comments). The ranking algorithm considers user engagement history, social graph proximity, content freshness, and collaborative signals. The platform operates across 3 regions with peak traffic of 100K requests/second during primetime. Design the complete pipeline including data ingestion, ranking computation, caching strategy, storage architecture, and real-time feed serving while maintaining consistency and handling failures gracefully.

Practice this question step by step with an AI interviewer that reviews your requirements, your architecture and your trade-offs, and scores the design.

Distributed SystemsReal-Time ProcessingCaching StrategiesDatabase ShardingEvent StreamingRanking AlgorithmsMicroservices ArchitectureHigh-Throughput Systems

Practice this question