CIE AS & A Level Computer Science, section 14.2 (Circuit switching and packet switching)
How it works
In circuit switching, a dedicated path is set up between the sender and receiver before any data is sent, and it stays reserved for the whole communication.
- A connection is set up: a route across the network is chosen, and the bandwidth on that route is reserved.
- All the data is sent along the same route, in order.
- The connection is closed and the circuit released.
The traditional landline telephone network works this way.
Benefits
- A constant bandwidth is guaranteed, so a steady data rate.
- Data arrives in order along the same path, with a low delay after set up.
- No need to reassemble packets.
Drawbacks
- The circuit is reserved even when no data is being sent, so capacity is wasted.
- There is a delay while setting up the connection.
- If a link on the circuit fails, the connection is lost.
- Fewer users can share the network, and it is less efficient for bursts of data.
Suitable uses
Where a continuous, steady connection is needed, such as a voice call or a live video link where a delay would be noticed.
Comparing
| Circuit switching | |
|---|---|
| Route | one fixed route |
| Bandwidth | reserved |
| Data arrives | in order |
| Efficiency | low when idle |
Common mistake: saying circuit switching splits the data into packets. It does not: the data flows along one fixed path which is reserved for the whole call. Also, a circuit is reserved even if nobody is talking.
Exam tip: describe the three steps (set up, transfer, close) and say the path is dedicated. Give one benefit and one drawback.
Check yourself
What happens before data is sent in circuit switching?
A dedicated path is set up and its bandwidth is reserved.
Give one drawback of circuit switching.
The reserved capacity is wasted when no data is being sent.
Give an example where circuit switching is suitable.
A voice call, which needs a steady connection with low delay.