Switching Computer Science Engineering (CSE) Notes | EduRev

GATE Computer Science Engineering(CSE) 2022 Mock Test Series

Computer Science Engineering (CSE) : Switching Computer Science Engineering (CSE) Notes | EduRev

The document Switching Computer Science Engineering (CSE) Notes | EduRev is a part of the Computer Science Engineering (CSE) Course GATE Computer Science Engineering(CSE) 2022 Mock Test Series.
All you need of Computer Science Engineering (CSE) at this link: Computer Science Engineering (CSE)

Switching is process to forward packets coming in from one port to a port leading towards the destination. When data comes on a port it is called ingress, and when data leaves a port or goes out it is called egress. A communication system may include number of switches and nodes. At broad level, switching can be divided into two major categories:

  • Connectionless: The data is forwarded on behalf of forwarding tables. No previous handshaking is required and acknowledgements are optional.

  • Connection Oriented:  Before switching data to be forwarded to destination, there is a need to pre-establish circuit along the path between both endpoints. Data is then forwarded on that circuit. After the transfer is completed, circuits can be kept for future use or can be turned down immediately.

Circuit Switching

When two nodes communicate with each other over a dedicated communication path, it is called circuit switching.There 'is a need of pre-specified route from which data will travels and no other data is permitted.In circuit switching, to transfer the data, circuit must be established so that the data transfer can take place.

Circuits can be permanent or temporary. Applications which use circuit switching may have to go through three phases:

  • Establish a circuit

  • Transfer the data

  • Disconnect the circuit

Switching Computer Science Engineering (CSE) Notes | EduRev

Circuit switching was designed for voice applications. Telephone is the best suitable example of circuit switching. Before a user can make a call, a virtual path between caller and callee is established over the network.

Message Switching

This technique was somewhere in middle of circuit switching and packet switching. In message switching, the whole message is treated as a data unit and is switching / transferred in its entirety.

A switch working on message switching, first receives the whole message and buffers it until there are resources available to transfer it to the next hop. If the next hop is not having enough resource to accommodate large size message, the message is stored and switch waits.

Switching Computer Science Engineering (CSE) Notes | EduRev

This technique was considered substitute to circuit switching. As in circuit switching the whole path is blocked for two entities only. Message switching is replaced by packet switching. Message switching has the following drawbacks:

  • Every switch in transit path needs enough storage to accommodate entire message.

  • Because of store-and-forward technique and waits included until resources are available, message switching is very slow.

  • Message switching was not a solution for streaming media and real-time applications.

Packet Switching

Shortcomings of message switching gave birth to an idea of packet switching. The entire message is broken down into smaller chunks called packets. The switching information is added in the header of each packet and transmitted independently.

It is easier for intermediate networking devices to store small size packets and they do not take much resources either on carrier path or in the internal memory of switches.

Switching Computer Science Engineering (CSE) Notes | EduRev

Packet switching enhances line efficiency as packets from multiple applications can be multiplexed over the carrier. The internet uses packet switching technique. Packet switching enables the user to differentiate data streams based on priorities. Packets are stored and forwarded according to their priority to provide quality of service.

Circuit Switching VS Packet Switching

CIRCUIT SWITCHING
PACKET SWITCHING
In circuit switching there are 3 phases
 i) Connection Establishment.
 ii) Data Transfer.
 iii) Connection Released.
In Packet switching directly data transfer takes place .
In circuit switching, each data unit know the entire path address which is provided by the source
In Packet switching, each data unit just know the final destination address intermediate path is decided by the routers.
In Circuit switching, data is processed at source system only
In Packet switching, data is processed at all intermediate node including source system.
Delay between data units in circuit switching is uniform.
Delay between data units in packet switching is not uniform.
Resource reservation is the feature of circuit switching because path is fixed for data transmission.
There is no resource reservation because bandwidth is shared among users.
Circuit switching is more reliable.
Packet switching is less reliable.
Wastage of resources are more in Circuit Switching
Less wastage of resources as compared to Circuit Switching

 

Offer running on EduRev: Apply code STAYHOME200 to get INR 200 off on our premium plan EduRev Infinity!

Related Searches

Free

,

Extra Questions

,

practice quizzes

,

Semester Notes

,

Exam

,

Objective type Questions

,

Switching Computer Science Engineering (CSE) Notes | EduRev

,

Summary

,

Switching Computer Science Engineering (CSE) Notes | EduRev

,

past year papers

,

ppt

,

Switching Computer Science Engineering (CSE) Notes | EduRev

,

Sample Paper

,

mock tests for examination

,

Important questions

,

study material

,

pdf

,

video lectures

,

MCQs

,

shortcuts and tricks

,

Previous Year Questions with Solutions

,

Viva Questions

;