Why the Internet's fastest protocol is intentionally designed to be unreliable
In short: The User Datagram Protocol, or UDP, is a core internet protocol that prioritizes speed over certainty. By stripping away handshakes and retransmission delays, it allows data to flow without waiting for confirmation. It is the engine behind real-time applications where a dropped packet is better than a stuttering connection.
Designed by David P. Reed in 1980 and defined in RFC 768, UDP is a connectionless transport layer protocol. Unlike the Transmission Control Protocol, which ensures data arrives in order and without errors, UDP makes no guarantees regarding delivery, ordering, or duplicate protection. Because it lacks these overhead-heavy reliability mechanisms, it is often called the Unreliable Datagram Protocol. It does not maintain state, meaning it forgets what it has sent the moment the packet leaves the host.
This lack of reliability is a feature, not a bug, for time-sensitive systems. In applications like Voice over IP, online gaming, or streaming media, waiting for a lost packet to be retransmitted creates jitter and latency, which are far more disruptive than the occasional missing data. By offloading error correction to the application layer—or ignoring it entirely—UDP avoids the protocol stack overhead that would otherwise slow down real-time communication. It is also highly efficient for simple transaction-oriented tasks, such as the Domain Name System or DHCP, where the simplicity of a single query-response exchange is preferred.
UDP uses port numbers to manage multiplexing, allowing multiple applications on a single host to communicate simultaneously. These 16-bit integers range from 0 to 65,535, with specific segments reserved for well-known services or dynamic ephemeral use. While UDP includes an optional checksum for integrity verification, it is often bypassed in IPv4 to save processing time. In IPv6, however, the checksum is mandatory. Ultimately, UDP is a tool of trade-offs: it provides the raw, unbuffered speed necessary for the modern, real-time web, provided the developer is willing to accept the inherent risks of an unreliable transmission path.
Opens the Intellect+ feed with this card first. Swipe up for the next one.
Sources
- Summary by Intellect · source: User Datagram Protocol
To cite this card, link to https://intellectplus.co.uk/app/technology-user-datagram-protocol.
How we source, check and correct cards: Editorial standards.
General information, not professional advice. Spotted an error? Flag the card or see corrections and complaints.
Intellect Plus is a visual educational discovery platform for exploring fascinating facts and ideas. Brain Food, Not Brain Rot. What is Intellect Plus?
Related
More in Technology today · More in Technology · Latest · A–Z · All topics