Interview Prep/Networking/Network Models, TCP, UDP & Ports

What is UDP used for and why is it "unreliable"?

BeginnerConceptNetwork Models, TCP, UDP & Ports
Answer

Unreliable means the protocol itself gives no delivery, order or duplicate guarantees. A datagram is sent once; if it is dropped, nobody retries unless the application does. That makes it cheap and low latency.

Common uses: DNS queries, DHCP, NTP, syslog, VoIP and video, game traffic, WireGuard, and QUIC (which builds reliability on top of UDP in user space).

All Networking questions Roadmap: Networking for DevOps

More on Network Models, TCP, UDP & Ports