Design Twitter for millions of users — System Design Interview Practice
Design a microblogging platform like Twitter/X that handles millions of users posting and reading short messages. Work through the requirements, architecture trade-offs, and an interactive design review.
Requirements and concepts to consider
- Post tweets (280 characters)Requirement
- Follow/unfollow usersRequirement
- Generate timeline/feedRequirement
- Like and retweet functionalityRequirement
- Trending topics and hashtagsRequirement
- Search tweets and usersRequirement
- Handle millions of tweets per dayRequirement
- Real-time feed updatesRequirement
- social mediaConcept to explore
- real timeConcept to explore
- feedsConcept to explore
- scalabilityConcept to explore
- messagingConcept to explore