Design a Twitter-like platform. Your document should cover scalability, caching, databases, and API design.
1. Requirements — functional and non-functional
2. High-level design — load balancers, app servers, databases
3. Data model — users, tweets, follows, timelines
4. API design — endpoints and request/response shapes
5. Scalability — caching, sharding, read replicas
6. Trade-offs — consistency vs availability, cost vs complexity
Write a full system design document in the editor. Aim for clarity, not perfect answers.
Design a Twitter-like platform. Your document should cover scalability, caching, databases, and API design.
1. Requirements — functional and non-functional
2. High-level design — load balancers, app servers, databases
3. Data model — users, tweets, follows, timelines
4. API design — endpoints and request/response shapes
5. Scalability — caching, sharding, read replicas
6. Trade-offs — consistency vs availability, cost vs complexity
Write a full system design document in the editor. Aim for clarity, not perfect answers.