AP® Computer Science Principles · Big Idea 4 · Topic 4.2

Redundancy and Multiple Paths

Redundancy means building extra, independent paths between devices so the network keeps working even if one connection fails. It makes a network fault tolerant, not just fast.

The internet is not one long wire. It's a mesh of routers, and between any two points there are usually several possible routes. Redundancy is the deliberate choice to build more connections than the bare minimum, so that if one link goes down, data can reroute through another. This costs more money and equipment up front, extra cables, extra routers, extra maintenance. The payoff is that a single cut cable, a single failed router, or a single overloaded link doesn't take down the whole conversation. Data packets get rerouted automatically, and the two devices keep talking.

Picture two offices connected by exactly one cable. If a backhoe cuts it, every message between the offices stops cold until someone fixes it. Now add a second, independent cable running a different physical route. Cut one, and traffic just flows over the other with maybe a brief delay. That second path is the redundancy. Add a third and fourth spare path and the network can survive multiple simultaneous failures, not just one, though each extra path adds cost for a shrinking amount of extra protection, since all the spares failing at once gets less and less likely.

This sits next to fault tolerance as cause and effect: redundancy is the design choice, fault tolerance is the property that results from it. It's easy to confuse redundancy with backing up data, but they guard against completely different disasters. A backup is a copy of information, stored somewhere else, so you don't lose the data itself. Path redundancy is about the connection between two points staying open, so traffic keeps moving even when a link breaks. You can lose data with perfect path redundancy, and you can have perfect backups while your network is completely cut off.

Key terms

Redundancy
Building extra, independent paths or components into a system beyond the minimum needed to function.
Fault tolerant
Able to keep operating correctly even when part of the system fails.
Path
A specific route data can travel through a network from one device to another.
Backup
A stored copy of data kept separately so the original can be recovered if lost.

Watch it explained

  1. How it worksHow does having more than one path between two devices make a network fault tolerant?
  2. Worked exampleShow me a network with a single path and the same network with two paths, side by side.
  3. Going furtherWhat changes about reliability when a network goes from one spare path to three?
  4. Common mistakeWhy isn't redundancy the same thing as backing up your data?

Check yourself

Your turn1 of 2
A network has 1 primary path plus 8 spare backup paths between two devices. If 2 of the paths fail all at once, how many usable paths remain?

End of topic.