1. 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.
Example of message switching –
2. Packet Switching :
In packet switching, information is transferred in the form of data packets between the sender and the receiver. These packets are forwarded one by one from the sender to the 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.
Example 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.|
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.
- Difference between Circuit Switching and Packet Switching
- Difference between Circuit switching and Message switching
- Pipelining in Packet Switching
- Packet Switching and Delays in Computer Network
- Message switching techniques
- Difference between Virtual Private Network (VPN) and Multi-Protocol Label Switching (MPLS)
- Difference between Pipes and Message Queues
- Difference between Parallel Virtual Machine (PVM) and Message Passing Interface (MPI)
- Difference between Shared Memory Model and Message Passing Model in IPC
- What is Packet Sniffing ?
- Packet flow in the same Network
- Packet flow in different Network
- What is IPX(Internetwork Packet Exchange)?
- What is Cisco Packet Tracer
- Circuit Switching in Computer Network
- Packet Capturing using JnetPcap in Java
- Packet Queuing and Dropping in Routers
- General Packet Radio Service (GPRS)
- How does Multiprotocol Label Switching (MPLS) Routing work ?
- Introduction of High Speed Downlink Packet Access (HSDPA)
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.