Library

13.2.3 Packet Switching

Packet switching combines the efficient resource sharing of message switching with the responsiveness required for interactive communications. Instead of transmitting an entire message as one large unit, the message is divided into many smaller packets, each of which is transmitted independently through the network. Because packets from many different users can be interleaved on the same communication links, packet switching makes highly efficient use of available bandwidth and has become the dominant switching technique for modern data networks, including the Internet.

Each packet consists of two parts: a header, which contains control information such as addressing and routing data, and a payload, which carries part of the user's information. At the receiving end, the packets are reassembled to reconstruct the original message.

By dividing messages into relatively small packets, individual links remain occupied for only short periods before packets from other users are transmitted. This statistical sharing of network resources allows many users to communicate simultaneously while making efficient use of transmission capacity. It also reduces transmission delay compared with message switching because intermediate switching nodes need only receive an individual packet before forwarding it to the next node.

Three principal approaches to packet switching are commonly used.

Packet switching offers numerous advantages over both circuit switching and message switching. Network resources are shared efficiently, communication links are utilized only when packets are being transmitted, and traffic can be rerouted automatically around failures or congestion. These characteristics make packet switching particularly well suited to bursty traffic such as web browsing, email, cloud computing, video streaming, file transfer, and Internet of Things (IoT) communications. The principal disadvantages are increased protocol overhead, variable transmission delay, delay variation (jitter), and the possibility of packet loss during periods of heavy network congestion. Modern communication protocols employ buffering, flow control, congestion control, error detection, and retransmission techniques to minimize the effects of these impairments.

The development of packet switching represented one of the most significant advances in the history of communications. By combining efficient statistical multiplexing with flexible routing and robust error recovery, it provided the foundation for the global Internet and virtually every modern data communication network. One specialized form of packet switching, known as cell switching, further refines these concepts by transmitting information in fixed-length packets, or cells, to provide more predictable switching performance for high-speed networks.