📜  恢复块和CPR恢复之间的区别

📅  最后修改于: 2021-08-24 05:00:51             🧑  作者: Mango

先决条件–容错技术
1.恢复块:
在恢复块技术中,不同的算法用于不同的尝试块。尝试块基本上是冗余组件。在这里,冗余副本不会同时运行。每次尝试的结果都是通过验收测试来测试。

2.检查点和回滚恢复(CPR恢复):
检查点回滚恢复技术不同于软件容错的恢复块技术。当我们执行一些计算时,每次使用该技术对系统进行测试。当处理器出现故障或数据损坏时,此技术非常有用。

恢复块和CPR恢复之间的区别:

RECOVERY BLOCKS CPR RECOVERY
Different copies of software are developed by different algorithms. Only a single copy of software is developed.
Redundant copies are run one by one. No redundant copies are available here.
System is not tested each time after computation. System is tested each time after computation.
Selection switch is required to choose between different copies. No any selection switch is required here.
It is used in case of less chance of processor failure. While it is useful when chances of processor failure is high.
This technique is used where chances of data corruption is less. While it is used where chances of data corruption is high.
It is used with tasks having more laxity. It is used with tasks having normal laxity.
It is not high efficient for critical systems. It is moderate efficient for all systems.
It is used only if task deadline is more than task computation time. No such condition is required for this technique.