6.1. Layer 4—UDP

UDP is a streamlined layer 4 transport protocol. UDP provides two services for IP transactions: a port number so that the data payload can be delivered to the proper upper layer application, and a checksum that validates the integrity of the UDP data across the network. Because UDP does so little, it requires few resources on the host system. This makes it an attractive layer 4 solution for applications that require high throughput with minimal CPU utilization. The tradeoff for performance, however, is the risk of data loss. UDP assumes a stable network infrastructure with a low bit error rate, and thus is rarely used in lossy, potentially congested environments such as wide area links.

6.1.1. Connectionless Service

UDP is a ...

Get IP SANs: A Guide to iSCSI, iFCP, and FCIP Protocols for Storage Area Networks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.