Skip to content

That's just a taste — their profile full of gems!

Visit profile
User avatar
Karen Edwards
September 6881

Live Comments, Better Answers

I just watched a strong walkthrough of the classic live comments system design interview, and honestly, it highlighted the same thing I’ve seen after sitting through hundreds of interviews:

Most candidates do not fail because they lack knowledge.
They fail because they answer like they’re guessing instead of designing.

System design is not a trivia contest. It’s a performance.

And Design Live Comments is one of those questions that exposes that fast.

The candidates who look solid don’t jump straight into Kafka, Redis, websockets, sharding, or whatever buzzword they memorized that week.

They start by controlling the room.

They clarify the problem.
They define the requirements.
They separate functional requirements from non-functional requirements.
They make the tradeoffs explicit.

That alone puts them ahead of most of the market.

What I liked here is the structure:

requirements → core entities → API → high-level design → deep dives

That sequence matters.

Not because interviews are school assignments.
Because structure signals seniority.

When a candidate starts with, “Users should be able to post comments, see new comments in near real time, and load older comments,” I know they understand scope.

When they add, “We care about massive scale, low latency, and availability over strict consistency,” now we’re getting somewhere.

That’s what good looks like.

Too many candidates say they want to “build a scalable real-time system.”

That statement is useless unless you attach it to the user experience.

For live comments, the important callouts are obvious if you think like an interviewer:

  • comments must appear fast
  • old comments must still be fetchable
  • the system has to survive insane fanout
  • seeing a comment 150ms later is fine
  • seeing nothing because you over-optimized for consistency is not fine

That’s a real design conversation.

I also liked the decision to start simple.

This is where candidates sabotage themselves. They think simple makes them look junior.

Wrong.

If you can’t build the basic version first, I don’t trust your distributed version either.

Start with:

  • client
  • API gateway
  • comment service
  • comment store

Post comment. Store it.
Fetch comments. Return them.
Use polling first if needed.

Then say, this satisfies the functional requirements, but not the latency target.
That sentence is gold in an interview.

Why? Because now you’re showing progression instead of dumping architecture.

That’s what senior candidates do. They earn complexity.

The real pivot in this problem is the move from polling to persistent delivery.

And this is where interview performance separates clean thinkers from noisy ones.

A weak candidate says:
“We should use websockets because it’s real-time.”

A stronger candidate says:
“We need server push because polling won’t hit our latency target. The choice is probably websockets vs SSE. Since live comments are overwhelmingly read-heavy and mostly one-way delivery, SSE is likely the simpler fit.”

That is a much better answer.

Not because SSE is always correct.
Because the reasoning is correct.

That’s the whole game.

Interviewers are listening for:

  • Do you understand the traffic pattern?
  • Do you understand bidirectional vs unidirectional communication?
  • Do you know infra choices have operational cost?
  • Can you justify the choice against the requirements you already defined?

That’s the bar.

And there’s another lesson here candidates need drilled into them:

CAP theorem discussion only matters if you tie it to the product.

Saying “we prefer availability over consistency” is generic.

Saying, “For live comments, it’s acceptable if a user sees a comment slightly later, but it’s not acceptable for the comment stream to disappear during a partition,” is interview-grade thinking.

That’s the difference between memorized and internalized.

Same with latency.

Don’t just say “low latency.”

Say what it means.
Say why it matters.
Quantify it.

If you can say, “We want roughly sub-200ms broadcast because that feels real-time to users,” you sound like someone who has actually thought about product experience, not just backend plumbing.

That matters a lot more than people think.

One more thing I’d push candidates on: don’t get lost in side quests.

Reply threads, reactions, moderation, ranking, spam control, caching edge cases, scroll optimization — yes, all of that is interesting.

But if the core problem is live comments, then nail the core path first:

  • write comment
  • persist comment
  • fan out comment
  • fetch comment history
  • scale delivery

If you wander for ten minutes into “what if users reply to a reply with emoji reactions” before you’ve solved fanout, you’re not showing depth.

You’re showing lack of prioritization.

And prioritization is one of the main things senior interviewers are actually testing.

My biggest takeaway?

The best system design answers feel layered.

They don’t start clever.
They start clear.

Then they tighten the design against pressure:

  • scale
  • latency
  • consistency
  • fanout
  • operational complexity

That’s how you should practice.

Not by memorizing final diagrams.

By rehearsing the sequence of decisions.

Because in the room, nobody hires you for knowing what SSE stands for.
They hire you because you can take an ambiguous problem, impose structure, make tradeoffs, and defend them calmly.

That’s performance.

And if you’re prepping for system design right now, steal this rule:

Don’t lead with your smartest component. Lead with your cleanest thought process.

That’s what gets offers.

#softwareengineering#interviews#systemdesign#meta#techinterview#engineeringcareer#faang#backendengineering
Like
Dislike

89

31

Add a comment...