Reliable Computer Systems pp 112-114 | Cite as
Fault-Tolerant Sequential Programming Using Recovery Blocks
Abstract
There can be two ways of designing the different algorithms for the primary and the alternatives of a recovery block: algorithms that are different but produce identical results (see the median example below) or algorithms for alternatives that are designed to provide a degraded service (producing different but nevertheless acceptable results, see the stable marriage example). In the latter situation the acceptance test can only be as strong as the test needed to check the adequacy of the ‘weakest’ alternative. Sometimes, this may prove unacceptable where a stronger test is needed for the primary (or even some of the alternatives). The following figure suggests a simple way of including both of these tests. ‘I’ represents the acceptance test and ‘Q’ represents a stronger test for the primary. It is assumed that if ‘Q’ is false, the primary will fail. ensure I by begin.. ; assert Q end else by...
Preview
Unable to display preview. Download preview PDF.
References
- 1.B. Randell, System structure for software fault tolerance, IEEE Trans, on SE, June 1975, pp. 220–232. (Also Chap. 1)Google Scholar
- 2.S. K. Shrivastava, Sequential Pascal with recovery blocks, Software-Practice & Experience, Vol. 8, pp. 177–185, 1978. (Also Chap. 2)CrossRefMATHGoogle Scholar
