Beginner Topic 17 of 50 Computer Networks
Packet Switching
Splitting data into independently routed packets.
How it works
In packet switching, data is split into packets, each carrying addressing information, that travel independently through the network and are reassembled at the destination. Routers store and forward packets, and links are shared statistically among many flows, giving better utilization than circuit switching, which reserves a dedicated path. Delays arise from transmission, propagation, queuing and processing.
Step-by-step walkthrough
- The message is cut into packets.
- Each has a header with the destination address.
- Packets travel separately and may take different routes.
- Links are shared, so capacity is used efficiently.
- The receiver reorders them into the original message.
Where it is used
The internet is a packet-switched network, as are most modern data and voice-over-IP networks. It makes networks robust because packets can take different routes around failures.
Common pitfall
Packets may be lost, duplicated, delayed or arrive out of order, so higher layers must handle it. Queues overflow under congestion, causing drops and latency spikes called bufferbloat. Real-time traffic needs quality of service. Reason about throughput versus latency, and remember that propagation delay is bounded by the speed of light.
Where it fits in the course
Packet Switching is topic 17 of 50 in Computer Networks, rated Beginner. It follows Ports and Sockets. The next topic is Wi-Fi.
Practice and explore
- Open the interactive lesson, with a mini quiz.
- Take the Computer Networks quiz.
How to study this topic
- Read the explanation above and restate the definition in your own words.
- Open the interactive lesson and answer its mini quiz.
- Read the common pitfall, then write a short example that avoids it.
- Check your understanding in the Computer Networks quiz, and revisit the topic if you miss a question.
Frequently asked questions
What is Packet Switching?
Where do people use Packet Switching?
What is the most common mistake with Packet Switching?
What should I learn before this topic?
How can I practice it?
Is Packet Switching hard to learn?
How long does it take to learn Packet Switching?
Which topics are related to Packet Switching?
What should I study after Packet Switching?
Related topics
- Ports and Sockets (Computer Networks)
- Wi-Fi (Computer Networks)
- HTTP (Computer Networks)
- TCP (Computer Networks)
- Context Switching (Operating Systems)