Skip to content
SEE Exam Prep

Question 12 of 15 · CIE-1 QB · 7 marks

Open in ChatGPT

Define fault tolerance and clearly differentiate between transient, intermittent, and permanent faults with examples.


Introduction

A fault is a defect in a component, an error is the incorrect state it produces, and a failure is the observable deviation from the specified behaviour. Fault tolerance is the ability to keep serving despite faults, and the techniques depend on what kind of fault is expected.

Definition

Fault tolerance is the property that a system continues to provide its service, possibly at a degraded level, in the presence of faults, achieved through redundancy in time or in space.

By duration

  1. Transient: occurs once and disappears without repair. A bit flipped by a cosmic ray, or one dropped packet, is retried and never seen again.
  2. Intermittent: occurs, disappears, then recurs at irregular intervals. A loose connector that fails when the machine warms up.
  3. Permanent: persists until the component is replaced. A dead disk, a burnt CPU, a deleted file.

By behaviour

Fault Behaviour Detection Tolerance
Crash Process stops and stays stopped Timeout, heartbeat Replicate, fail over
Omission Message lost Sequence numbers, acks Retransmit
Timing Reply too late Timeout Retry, deadline
Byzantine Wrong or conflicting values Voting, checksums 3f + 1 replicas

Diagram

masked by redundancyFaultErrorService failureService continues

Example

  • Permanent: a disk with a bad sector; RAID reconstructs the block from parity, so no error reaches the file system.
  • Transient: a network glitch that resets one connection; a single retry hides it.
  • Byzantine: a server that answers with corrupted data; caught only by majority voting.

Conclusion

Duration decides the repair strategy and behaviour decides the redundancy. Transient and intermittent faults are absorbed by retry and masking; permanent ones need replication and failover; Byzantine ones need enough replicas to outvote the faulty members.