ocrolus logo

Ocrolus Interviews

1 experience1 reads
Ocrolus Interview Experience
ocrolus logo
Ocrolus
January 12, 20261 reads

Summary

This post details an interview experience with Ocrolus, focusing on a system design question to build a Twitter-like social media platform.

Full Experience

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.

Interview Questions (1)

Q1
Design Twitter
System Design

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.

Have a Ocrolus Interview Experience to Share?

Help other candidates by sharing your interview experience. Your insights could make the difference for someone preparing for their dream job at Ocrolus.