| English | 释义 | 拼音 |
|---|---|---|
| fault tolerant/fɒlt ˈtɒlərənt/ | 容错的 | róng cuò de |
| redundancy/rɪˈdʌndənsi/ | 冗余 | rǒng yú |
| single point of failure/ˈsɪŋɡl pɔɪnt ɒv ˈfeɪlɪə/ | 单点故障 | dān diǎn gù zhàng |
部分失败时保持工作
- 一个系统是容错的(fault tolerant),当它即使部分失败也保持工作。
- 互联网是著名的例子——没有单一失败能让整个系统崩溃。
- 这是一个设计目标,不是运气。
- 问题是如何把它建进去。
A fault-tolerant system:
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
No single failure brings the whole system down.
Having more than one path or copy so a backup takes over is called ______.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Redundancy is the main way to achieve fault tolerance.
冗余是关键
- 实现容错的主要方式是冗余(redundancy)。
- 那意味着不止一条路径,或不止一份副本,于是一个备份接管。
- 因为网络有许多路线,数据包绕过断掉的链路走备用路线。
- 这正是互联网容错的原因。

分组交换通过独立路由发送数据包,因此网络能容忍链路故障
Fault tolerant, or a single point of failure?
Redundancy (extra paths or copies) makes a system fault tolerant; relying on one part with no backup creates a single point of failure.
A single point of failure is:
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
A network with one central router has a single point of failure.
If one link on the Internet breaks, packets cannot reach their destination.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
False. The Internet has many routes, so packets can travel around a broken link; that redundancy makes it fault tolerant.
单点故障
- 要避免的危险是单点故障(single point of failure)——一个其失败会停下一切的部分。
- 一个只有一个中央路由器的网络有一个单点故障。
- 如果那个路由器死了,整个系统停止。
- 冗余通过添加备份移除单点故障。
Why might a small blog accept a less reliable setup than a hospital?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Designers weigh the cost of redundancy against the reliability needed.
Running a website on two servers in different cities removes the single point of failure of one server.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
If either server fails, the other keeps the site up.
冗余有成本
- 冗余不是免费的——额外的电缆、服务器和备份都花钱。
- 设计者把冗余的成本与它买来的可靠性相权衡。
一台服务器对两台。 一家公司在一台服务器上运行它的网站——一个单点故障;如果它崩溃,网站下线。在另一个城市加第二台服务器意味着任一失败网站仍在线。它花费两倍,但对一家每分钟下线都亏钱的企业,这个可靠性是值得的。
一个容错的系统在一个部分失败时保持工作,主要通过冗余实现——额外的路径或副本,让一个备份接管。避免单点故障,一个停下一切的部分。冗余花钱,所以设计者把成本与它买来的可靠性相权衡。