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 →
- Use RTP or QUIC with forward error correction and jitter buffers
- Prefer anycast or regional edge so RTT stays low
- Handle NAT traversal with STUN, TURN and ICE for peer paths
- Mark DSCP values (EF for voice) where networks honour them
- Open UDP port ranges and set NLB UDP health checks properly
- 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.
More on Performance, MTU, Latency & Tools
Latency, bandwidth and throughput: what is the difference and why does it matter?BeginnerWhen do you use ping, traceroute and mtr?BeginnerWhat is MTU and what is the usual value?BeginnerHow do you check what is listening on a port and who is connected?BeginnerHow do you measure where time goes in a slow HTTP request?BeginnerWhat does tcpdump do and what are the first filters you use?Beginner