AlgoInsight

System design interview question

Design a Real-time Feed Generation System like LinkedIn's Activity Feed

MediumHLDHLD practice

Design a scalable feed generation system that serves personalized activity feeds to 300M active users with 50K write events per second (new posts, likes, comments, follows). The system must support multiple feed types (home feed, network feed, hashtag feed) with sub-second latency for read requests in multiple geographic regions (US, EU, APAC). Users follow hundreds to thousands of other users, and the feed must rank activities by relevance and recency while handling fanout of a single post to millions of followers. Design for 99.99% availability, sub-500ms p99 latency, and the ability to serve billions of feed impressions daily.

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 SystemsMessage QueuesCaching LayersDatabase DesignReal-time ProcessingFanout ArchitectureRanking AlgorithmsNoSQL Databases

Practice this question