Skip to content

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

Visit profile
User avatar
Karen Edwards
October 5878

Networking for System Design Interviews

Most candidates treat networking like trivia.

That’s a mistake.

In a system design interview, nobody cares that you can recite OSI, TCP, UDP, REST, gRPC, WebSockets like you’re studying flashcards. What matters is whether you can explain why one choice fits the system better than another.

That’s the bar.

What I liked here is the focus on networking as a stack of tradeoffs, not a glossary. That’s exactly how strong candidates talk. They don’t say, “I’d use WebSockets because it’s realtime.” They say, “I need bidirectional low-latency communication, I’m willing to take on connection state, and I understand the operational cost.”

That’s an interview answer.

A few things I’d drill hard if you’re preparing:

TCP vs UDP is not a definitions question.
It’s a product question.

If your system needs reliable delivery, ordering, and fewer application-level headaches, default to TCP. If latency matters more than perfect delivery—video, voice, gaming—then UDP becomes interesting. But if you say UDP, you’d better be ready to explain what failure you’re willing to tolerate.

Same with HTTP, REST, GraphQL, and gRPC.

Most candidates throw these around sloppily. I’d keep it simple:

  • REST is the default when you want something widely understood and easy to reason about.
  • GraphQL is useful when the client needs flexible data shaping and requirements change fast.
  • gRPC is great for internal service-to-service communication when performance matters.
  • If you bring up gRPC for public browser clients without caveats, you’re telling on yourself.

That’s the pattern across the whole conversation: every protocol buys you something, and every protocol costs you something.

I also wish more candidates understood streaming choices with more precision.

If you need server-to-client updates for a relatively narrow use case, SSE can be the clean answer. If you need full bidirectional communication with frequent updates, WebSockets might be right—but now you’re signing up for stateful connections, connection lifecycle management, retries, reconnect logic, and uglier deployments.

A lot of people jump to WebSockets because it sounds senior.

It’s not senior if it’s unnecessary. It’s just expensive.

The same goes for WebRTC. I see candidates use it like a prestige technology. That’s backwards. WebRTC is for specific problems—audio/video and true peer-to-peer realtime collaboration—not for showing off that you know the acronym.

The strongest interview performance usually sounds like this:

“I’d start with the simplest protocol that satisfies the requirements, then justify moving to something more specialized only when the product constraints force it.”

That answer wins.

The operational section matters too, and frankly, this is where weaker candidates fall apart. Networking in interviews is not just protocols. It’s also:

  • load balancing
  • regionalization
  • retries with backoff and jitter
  • timeouts
  • circuit breakers
  • avoiding cascading failures

This is where interviewers start checking whether you’ve actually built systems or just watched architecture content.

If your answer includes retries but not backoff and jitter, you’re incomplete.
If your answer includes scaling but not load balancing strategy, you’re incomplete.
If your answer includes multiple services but not failure containment, you’re incomplete.

That’s what I mean when I say interviewing is a performance skill. Strong candidates don’t just know concepts. They present them in the right sequence, with the right tradeoffs, and without overengineering the first draft.

One point I especially agree with: candidates are often too quick to scale horizontally in interviews because they think that’s what interviewers want to hear.

Sometimes it is. But if you can explain when vertical scaling is enough and when horizontal scaling becomes necessary, you sound much more grounded. Blindly spraying “microservices, load balancer, Kafka, sharding” at the whiteboard is not seniority. It’s panic with diagrams.

If I were coaching someone on this topic, I’d push them to stop memorizing protocol names and start practicing answers like:

“What requirement is driving this choice?”
“What failure mode am I accepting?”
“What operational complexity am I introducing?”
“What is the simpler alternative, and why am I not choosing it?”

That’s the real networking prep.

Not vocabulary.
Not acronym collection.
Not architecture cosplay.

Just clean reasoning under pressure.

If you’re studying system design right now, spend less time trying to sound impressive and more time getting fluent in the tradeoffs between REST, GraphQL, gRPC, SSE, WebSockets, TCP/UDP, and load balancing patterns.

Because in the interview, the candidate who explains the why beats the candidate who lists the what every single time.

#networking#softwareengineering#interviews#systemdesign#distributedsystems#techcareers#graphql#grpc#websockets
Like
Dislike

86

29

Add a comment...