1p3a Question · Jan 2026

Ocrolus System Design Interview: Twitter Simulator and Streaming Discussion

SWE System Design

Question Details

Round 1 Design a Twitter class that simulates a simplified version of a social media platform. Your implementation should support the following functionalities: 1. Add a new User - Implement a metho

Full Details

Round 1 Design a Twitter class that simulates a simplified version of a social media platform. Your implementation should support the following functionalities: 1. Add a new User - Implement a method to register a new user 2. Follow a User - Allow one user to follow another user 3. Unfollow a User - Allow a user to unfollow another user they are already following 4. Post a Tweet - Users should be able to post a tweet 5. Get User Feed - Retrieve the 10 most recent tweets from the user and it's follower - Read latency should be good Some followups on Kafka Streaming and Composite Indexing when to and when not to use it.

Free preview. Unlock all questions →

Topics

System Design