Skip to content

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

Visit profile
User avatar
Karen Edwards
August 22877

Whatsapp Design Lessons

I’ve said this for years: most people don’t fail system design because they’re not smart enough.

They fail because they perform the interview like they’re thinking out loud in a panic instead of driving a clean technical narrative.

That’s why I liked this WhatsApp breakdown. Not because “Design WhatsApp” is exotic. It isn’t. It’s common. And that’s exactly why it exposes weak interview habits fast.

The strongest part wasn’t the architecture itself. It was the sequence.

Too many candidates jump straight to: “We’ll use Kafka, sharding, WebSockets, caches, maybe Redis, maybe consistent hashing…”

That’s not design. That’s verbal open-heart surgery with no diagnosis.

What actually works is boring, disciplined, and repeatable:

  • clarify requirements
  • define core entities
  • sketch the interface
  • build the simplest thing that works
  • then evolve it under scale and reliability pressure

That’s the move.

When I coached candidates for FAANG loops, this was one of the biggest differentiators between people who felt senior and people who merely hoped to sound senior. Senior candidates don’t just know components. They know how to stage the conversation so the interviewer can follow their reasoning.

A few things here were especially interview-relevant.

First, the emphasis on tight requirements.

That matters more than candidates think. If you give me vague requirements, I already know your design is about to drift. If you don’t define whether offline delivery matters, whether media matters, whether read/write latency matters, whether this is 10 million or 2 billion users, then every design choice after that is floating.

And yes, I’m fully aligned with the point that you should quantify non-functional requirements when possible.

Saying “low latency” is weak.

Saying “we should target sub-500ms delivery because that feels real-time to users without over-constraining the system” is much stronger. Now you’ve given yourself a decision framework. Now tradeoffs have teeth.

Second, the design rightly starts with a degenerate/simple version before scaling it.

Candidates love to skip this because they think simple looks junior. Wrong.

Simple is how you prove control.

If you can’t build the one-server mental model cleanly, you have no business hand-waving your way into a globally distributed architecture. I’d much rather hear a candidate say:

“Let me first make this functionally correct, then I’ll address scale, durability, and fault tolerance.”

That tells me you understand engineering as an evolution, not a buzzword dump.

Third, the treatment of offline delivery is where the interview starts getting interesting.

This is where weaker candidates usually break. They handle live messaging fine, then forget that a messaging product is useless if delivery only works for currently connected users. The introduction of a message store plus inbox/delivery tracking is exactly the kind of progression interviewers want to see.

Not because it’s the only possible solution.

Because it shows you can identify the point where the initial design stops matching the product requirement and then repair it systematically.

That’s the skill.

I also liked the push to distinguish between a user and a device/client. That’s not a throwaway detail. That’s the kind of product-architecture thinking that separates surface-level answers from mature ones. “Offline” is usually a device state, not a person state. If you miss distinctions like that, your data model and delivery semantics get sloppy fast.

And then there’s the classic trap: media attachments.

This is where candidates expose whether they actually think in systems or just in features.

If you route giant uploads through the same chat servers handling tiny text messages, you’re creating avoidable pain. The pre-signed URL pattern is exactly the kind of answer I expect a solid candidate to reach for quickly. Offload blob transfer. Keep the messaging path lean. Don’t let “send a baby video to grandma” wreck the path for “omw.”

That’s good design, and more importantly, it’s good interview communication because the reason is obvious and defensible.

The most useful section, though, is where the single chat server stops working and the routing problem shows up.

This is where a lot of candidates start reaching for infrastructure they don’t understand deeply.

I see it constantly: “Use Kafka.”

Why?

If your answer to every distributed systems problem is Kafka, I already know you’re pattern-matching. The stronger move is what happened here: explain why the obvious idea breaks, then introduce something more appropriate.

That’s what interviewers reward.

Not just the right tool.
The right reasoning path.

And that’s the broader lesson I’d pull out for anyone preparing for system design interviews:

Your job is not to impress with complexity. Your job is to make complexity feel inevitable.

That means every new component should arrive because the last version of the system created a clear problem:

single server → doesn’t scale
multiple servers → routing breaks
large media through chat nodes → bandwidth/path mismatch
offline users → need durable undelivered message handling

That progression is persuasive. It calms the interviewer down. It signals that you’re not freelancing.

If I were coaching someone on this question, I’d hammer three habits:

Stop racing.
Most candidates talk too fast once they hit architecture. Slow down enough to name the problem each component solves.

Stop over-scoping.
You do not need to design every possible WhatsApp feature. Calling, presence, encryption internals, anti-spam, typing indicators, status stories—pick your battles. Finish the core design well.

Stop hiding uncertainty.
If part of the API or deep dive is provisional, say so. Good candidates don’t pretend completeness. They mark assumptions and move forward cleanly.

That last one matters a lot. In interviews, silence around a gap looks like ignorance. Acknowledging a gap looks like judgment.

My bottom line:

This is the kind of system design answer that performs well because it’s structured, incremental, and honest about tradeoffs.

And that’s what too many candidates miss. Interview success is not about having seen the exact question before. It’s about being able to build a coherent story under pressure.

That’s a performance skill.

Not luck.

#softwareengineering#whatsapp#systemdesign#distributedsystems#interviewprep#engineeringcareers#faang
Like
Dislike

98

42

Add a comment...