Interview Prep/Networking/Performance, MTU, Latency & Tools

UDP-based real-time service (voice, game) is chosen. How do you handle loss, jitter and NAT?

AdvancedScenarioPerformance, MTU, Latency & Tools
Answer

Situation read → No retransmission means the application manages quality.

What I'd do →

  1. Use RTP or QUIC with forward error correction and jitter buffers
  2. Prefer anycast or regional edge so RTT stays low
  3. Handle NAT traversal with STUN, TURN and ICE for peer paths
  4. Mark DSCP values (EF for voice) where networks honour them
  5. Open UDP port ranges and set NLB UDP health checks properly
  6. Monitor jitter and loss with probe tools

Why → Real-time media prefers a late-lost packet over a delayed one, so the app tolerates loss.

Interview tip → Say TURN relays cost bandwidth and are the fallback.

All Networking questions Roadmap: Networking for DevOps

More on Performance, MTU, Latency & Tools