apollo logo
Apollo· EM role

Apollo - EM role

Posted
7 Apr 2025
277 reads

Summary

I had a system design round for an EM role at Apollo, where I was asked to design a live commenting system for live streams. Despite providing a detailed design and suggesting optimizations, I was rejected.

How it went

I had my first round as system design, asked to build the live commenting system on live streams.
Functional Requirements

  1. Able to live comment
  2. User can see the past hisotry as well when joins the live stream
  3. 7 day history
  4. Abuse words starmarked(extension)
  5. Top Comments
Non Functional
  1. Scale : At any given time 1 million streams are running.
    10 million users are connected at any give time to these streams
  2. Can have slight delay in delivery of comment to other users
I provided the below diagram and explaination , I asked GPT as well to validate the answer

---

Gpt Answer

🛠️ Summary & Verdict

  • ✅ Your design is well-structured and scalable for real-time chat.
  • ✅ Kafka & Cassandra are solid choices for handling high throughput.
  • ✅ WebSocket Manager & Redis make it efficient for tracking active users.

⚡ Potential Enhancements: Redis TTL, Cassandra partitioning, WebSocket failover, comment rate limiting, and optional Elasticsearch for searching comments.

🚀 Final Verdict: 8.5/10 – Excellent design with room for minor optimizations!

---

Screenshot 2025-04-01 at 4.59.18 PM.png

Final Verdict - REJECT

I have given these optimization as well while communicating, but still feel as unlucky day !

Questions asked (1)

  1. 01

    Design a Live Commenting System for Live Streams

    System Design · Hard

    Design a live commenting system for live streams with the following requirements:

    Functional Requirements

    1. Able to live comment
    2. User can see the past history as well when joins the live stream
    3. 7 day history
    4. Abuse words starmarked (extension)
    5. Top Comments

    Non Functional Requirements
    1. Scale: At any given time 1 million streams are running. 10 million users are connected at any given time to these streams
    2. Can have slight delay in delivery of comment to other users

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Apollo recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!