Summary of "Lec-19: Datagram Switching Vs Virtual Circuit Switching in Packet Switching | Computer Networks"
Main ideas: Packet Switching approaches
- The video compares two ways Packet Switching can work:
- Datagram Switching
- Virtual Circuit Switching
- Core packet-switching principle (for both):
- Data is split into small packets
- Packets are sent over the network rather than sending the entire data stream directly.
Datagram Switching (Connectionless Packet Switching)
Key concepts and behavior
-
Connectionless
- No reservation of network resources.
- When A sends data to B:
- Data is divided into packets
- Packets are sent directly toward B.
-
On-demand resource usage
- Inside the network, no pre-reservation of:
- CPU
- Buffer
- Bandwidth
- As each packet arrives:
- It goes into a buffer
- Then it is processed and transmitted
- If required resources are busy, packets may wait.
- Inside the network, no pre-reservation of:
-
Store and Forward
- Packets are stored first, then processed, and then forwarded.
- This requires:
- Buffer (to store)
- CPU (to process)
- Bandwidth (to transmit)
Consequences / comparison points
-
Out of order delivery is possible
- Packets may follow different paths depending on routing decisions.
- Therefore, packets can arrive at B in a different sequence (e.g., P1 might not arrive before P2/P3/P4).
-
Higher overhead
- Each packet needs headers because routes can differ.
- Header information includes:
- Source address
- Destination address
- “TTN field” and fragmentation/other control details
- Since every packet requires enough information to route independently, overhead increases.
-
Packet loss can be higher than in virtual circuits (relative)
- Because packets traverse different paths, each packet’s route can vary in reliability.
- The video claims loss chances are higher in Datagram (while suggesting Virtual Circuit has a “little less” loss due to consistent routing).
-
Where it’s used
- Internet relies on Datagram service, specifically through the IP network (Network layer depends on Datagram services).
-
Cost and efficiency
- Cost is lower (no repeated reservation/setup in advance).
- Efficiency is higher because resources are used on-demand and can be freed if transmission pauses.
-
Delay
- Delay is higher because packets are handled as they arrive; switches may cause waiting (analogized as not having a reserved table).
Virtual Circuit Switching (Connection-oriented Packet Switching)
Key concepts and behavior
-
Connection-oriented
- Before sending packets:
- A setup/reservation phase occurs.
- A “global packet” (or setup information) is sent from A to B.
- While it travels, it reserves resources in switches along the chosen path:
- Buffer
- CPU
- Memory
- Before sending packets:
-
Circuit behavior combined with packet switching
- The video describes Virtual Circuit as a mix:
- Packet switching still exists (data is packetized),
- but reservation resembles circuit switching.
- The video describes Virtual Circuit as a mix:
-
Path consistency
- After reservation, all subsequent data packets follow the same reserved path.
Consequences / comparison points
-
Sequential (in-order) delivery
- Because packets use the same route after setup, they are more likely to arrive in order (sequential).
-
Lower overhead
- Only the first packet needs a larger global header/setup context.
- Subsequent packets carry only a local header, reducing total overhead.
-
Packet loss is relatively lower
- Because packets follow the same path, routing is known, and loss probability is suggested to be lower than when routes differ.
-
Examples / networks mentioned
- Frame Relay (said to be commonly used today)
- X.25
- ATM (interpreted as Asynchronous Transfer Mode)
-
Cost and efficiency
- Cost is higher because:
- A connection/setup must be made (reservation of resources) again for repeated transmissions.
- Efficiency is lower than Datagram in the video’s reasoning because reserved resources may remain allocated even if unused.
- Cost is higher because:
-
Delay
- Delay is lower because the path is already reserved:
- analogy: you go directly to your reserved table rather than waiting to find one.
- Delay is lower because the path is already reserved:
Overall lessons / comparison takeaway
-
Datagram Switching
- Pros (as stated): Better efficiency and lower cost; widely used (IP/Internet)
- Cons (as stated): Higher overhead, possible out-of-order delivery, higher delay
-
Virtual Circuit Switching
- Pros (as stated): Lower overhead and delay; more sequential delivery; potentially less packet loss
- Cons (as stated): Higher cost due to reservation/setup; less efficient because resources are reserved for the circuit/path
Speakers / sources featured
- Speaker: The video’s lecturer (no specific name provided in the subtitles)
- Sources mentioned (as systems/examples): IP network, Frame Relay, X.25, ATM (Asynchronous Transfer Mode)
Category
Educational
Share this summary
Is the summary off?
If you think the summary is inaccurate, you can reprocess it with the latest model.
Preparing reprocess...