Imagine you have a network of routers in which each device can direct data packets bound for any other point in the network. You can then ask yourself: What instructions should the routers follow?
One simple approach would be to map out the shortest path between every pair of points in the network, and then give each router a copy of the map. If the network ever changes — if even a single link fails — start over and do it again.
In principle, this strategy will ensure that every packet reaches its destination. In practice, it’s far too slow. Calculating shortest paths is inherently a “global” problem — it requires knowledge of the entire network. In a real-world network, that calculation might take up to a few seconds. But each router has to act fast, in a fraction of a millisecond or less. That means routers must direct packets using only locally accessible information, such as the status of links to their immediate neighbors.
This restriction makes the problem of perfect resilience much more complicated. Without any global coordination between routers, packets might get trapped in loops.