文章目录阅读设置推特

网络研究人员彻底敲定“完美弹性”理论

大处着眼,小处着手

Think Globally, Act Locally

设想你拥有一个路由器网络,其中每个设备都能转发发往网络中任何其他点的数据包。然后你可能会自问:路由器应该遵循什么指令?

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.