Internet & Networking

Packet switching

Also known as: IP packets, datagram, connectionless, circuit switching, TCP/IP

Packet switching is the network architecture that underlies the internet.

Instead of reserving a dedicated circuit between sender and receiver (as phone calls traditionally did), data is broken into packets that independently navigate the network, arriving at the destination to be reassembled. Multiple conversations share the same network infrastructure simultaneously.

Packet switching, explained at three levels

At home

When you send an email, the internet doesn't reserve a direct line from your computer to the recipient. Instead, the email is broken into small packets that each find their own way through the network, possibly taking different routes. They're reassembled at the destination. This is packet switching.

At work

Packet switching allows thousands of conversations to share the same network cable or fibre simultaneously. Each packet carries its destination address; routers forward it toward the destination. When a link is busy, packets wait in a queue. This is fundamentally different from phone calls, which reserved a dedicated circuit for the duration of the call.

Real-world examples

At home

Sophie downloads a large file while simultaneously streaming music. Both transfers share the same internet connection simultaneously: possible because packet switching allows the connection to carry packets from both streams interleaved, rather than dedicating the entire pipe to one at a time.

At work

Thomas's company's network team uses DSCP marking on their voice-over-IP system. Voice packets are marked EF (Expedited Forwarding) and placed in a priority queue, ensuring they're transmitted before bulk file transfer packets, maintaining call quality even during heavy network utilization.

How it compares

featurePacket switchingCircuit switching
Resource reservationNone (shared)Dedicated per connection
PathPer-packet (may vary)Fixed for duration
LatencyVariable (queuing)Fixed, predictable
EfficiencyHigh (statistical multiplexing)Low (idle circuits waste capacity)
Used inInternet, IP networksLegacy phone networks, SONET

For analysts

Understanding packet switching explains why network performance varies: the shared nature of packet networks means congestion affects all users simultaneously, which is directly relevant to capacity planning and SLA discussions.

History & origin

Packet switching was independently developed by Paul Baran at RAND Corporation (1964) and Donald Davies at the NPL in the UK (1965). Baran wanted a network with no single point of failure that could survive a nuclear attack; Davies wanted computers to share lines efficiently. ARPANET (1969), the precursor to the internet, implemented packet switching. The alternative, circuit switching (used in telephone networks), became obsolete for data networks. The internet's scalability and resilience are direct consequences of packet switching.