Chirper is a new social media startup building a Twitter-like platform focused on short-form text posts (max 300 characters). For the MVP, the app needs:
•Users can sign up, create a profile, and follow other users.•Users can post short text messages ("chirps").•A home timeline shows chirps from people you follow, sorted by newest first.•Users can like and reply to chirps.•Profile pages show a user's chirps and follower/following counts.
The founding team is targeting college campuses and expects 100,000 users in the first month, with about 20% being daily active.
Build a simple social feed app with posts, follows, and a chronological timeline. Build this architecture under realistic production constraints, then validate tradeoffs in the design lab simulation.
Request path: The solution keeps ingress, service logic, and stateful dependencies separated so each layer can scale independently.
Reference flow: Web Clients -> API Gateway -> API Service -> Primary NoSQL DB -> Redis Cache -> Object Storage