Switching Techniques in Computer Networks
Switching Techniques in Computer Networks
Computer Networks
Introduction to Switching
• We use switching techniques in computer networks to connect
devices and allow them to communicate with each other.
• Additionally, we can utilize switching techniques to transfer data from
one device to another.
• Switching allows multiple devices to share the same communication
channel simultaneously. As a result, it improves the efficiency of the
network.
• Furthermore, switching also enables the network to route data to its
intended destination.
• Additionally, it provides a mechanism for error checking and
correction.
There’re three main switching techniques used in computer networks:
1. circuit switching,
2. packet switching, and
3. message switching.
Circuit Switching
• We mainly use circuit switching in traditional telephone networks.
When two devices want to communicate in a circuit-switched
network, they establish a connection by setting up a dedicated path
between them. This path is reserved exclusively for the duration of
the communication. Hence, no other devices can use it during that
specific time.
• Once we establish the connection, we can transfer data between
devices over the dedicated path. This path typically comprises a series
of interconnected switches or nodes that route the data to its
destination.
Let’s take a look at the general architecture of a network where we use
circuit switching technique to transfer data from Computer 1 to
Computer 3:
• Circuit switching isn’t commonly used in computer networks, as it
isn’t very efficient for data transmission.
• We reserve the dedicated path for the entire duration of the
communication. Therefore, we waste a significant amount of
bandwidth during those times.
• Additionally, circuit switching is not well-suited for networks with high
traffic volumes.
• However, we still use circuit switching in some specialized
applications, such as in satellite communications, where the delay of
packet switching can be prohibitive.
Advantages
• Circuit switching provides a dedicated communication path between
two devices for the duration of the communication. Hence, we
reserve the bandwidth for the entire conversation. This results in
guaranteed bandwidth, which can be important for applications that
require a constant data rate.