先决条件 – 容错技术
1. 恢复块:
在恢复块技术中,不同的算法用于不同的尝试块。 Try 块基本上是冗余组件。此处冗余副本不会同时运行。每个 try is 块中的结果通过验收测试进行测试。
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. |