Difference between Message and Packet Switching (original) (raw)

Last Updated : 29 Oct, 2024

The Message and the Packet Switching are a two fundamental methods of the data transmission in a computer networks. A Message Switching transmits the entire message as a single unit through a intermediate nodes using store and forward technique where each node must receive the complete message before forwarding it. A Packet Switching divides a messages into the smaller packets that are sent independently through the different network paths and reassembled at a destination. While the Message Switching requires a more storage and can cause the delays. Packet Switching offers a efficient resource utilization and forms the basis of a modern internet communications.

What is Message Switching?

In this technique the entire message is transmitted without any break from one node to another. It firstly stores and then forwards information that requires more time. Due to this, the access time is increased. No direct link is present between the sender and the receiver.

Message-Switching

Advantages of Message

Disadvantages of Message

What is Packet Switching?

The packet switching information is transferred in the form of a data packets between the sender and the receiver. These packets are forwarded one by one from a sender to a receiver. Each packet is associated with a Header. Then, these packets then reassembled into the original message. This improves the performance as the time require to access the data packet is reduced. Due to this, the overall performance of the network is improved.

Packet-Switching

Advantages of Packet Switching

Disadvantages of Packet Switching

**Difference between Message and Packet Switching

Message Switching Packet Switching
A complete message is passed across a network. Message is broken into smaller units known as Packets.
In this, computer language used is ASCII, baudot, morse. In packet switching, binary type is used.
In message switching there is no limit on block size. Packet switching places a tight upper limit on block size.
Message exist only in one location in the network. Parts i.e. packets of the message exist in many places in the network.
Example: Hop-by-hop Telex forwarding and UUCP(UNIX-to-UNIX Copy Protocol) Example: Frame Relay, IP, and X. 25
Physical links are allocated dynamically. Virtual links are made simultaneously.
Access time is reduced due to increase in performance as packets are stored in disk. Packets are stored in main memory.

Conclusion

Message switching and packet switching are two ways to send data across networks. Message switching sends entire messages as one unit, like a complete letter. Packet switching breaks data into smaller packets, sending each separately, like mailing a letter in pieces. Packet switching is more efficient and flexible, allowing better use of network resources. It's the basis for how the internet works, while message switching is mostly obsolete for data communications. Think of message switching as sending a postcard, and packet switching as sending a series of text messages.