1. Circuit Switching
<aside>
π Features
- Each call has its own private, guaranteed, isolated data rate from end-to-end
- A call has three phases:
- Establish circuit from end-to-end, dialing
- Communicate
- Close circuit, tear down
- Originally, a circuit was an end-to-end physical wire.
- Nowadays, a circuit is like a virtual private wire.
</aside>
<aside>
π Problems
- Inefficient
- Diverse Rates
- State Management
</aside>
2. Packet Switching
<aside>
π Packet switches have buffers
Buffers hold packets:
- When two or more packets arrive at the same time
- During periods of congestion
</aside>
<aside>
π Features
- Packets are routed individually, by looking up address in routerβs local table
- All packets share the full capacity of a link
- The routers maintain no per-communication state
</aside>
<aside>
π Why the Internet uses Packet Switching?
- Efficient use of expensive links
- Resilience to failure of links & routers
- The Internet was originally designed as an interconnection of the existing networks
</aside>