I am developing a database system and as part of a project I have been asked to look into fault tolerance.

From what I understand a fault tolerant program is a program that is not vulnerable to errors.

Any ideas how I can ensure that the program I am buiding is fault tolerant.

My guess is that if I use exeptions for every methods in my classes that will make my system fault tolerant?


3 Years
Discussion Span
Last Post by Schol-R-LEA

a fault tolerant program is a program that is not vulnerable to errors.
if this is so, there isn't a single fault tolerant program in existence. every program is vulnerable to errors.

What you can do, however, is anticipate them. Anticipate every single error that might occur, and implement decent error and Exception handling for them. This will make it look like errors can't occur to the user.


Actually, 'fault tolerance' has more to do with gracefully recovering from exceptional situations than with avoiding them entirely. Setting up exception blocks around fault-sensitive code (e.g., pretty much all I/O) is a good starting point, but not sufficient in and of itself; you have to know how to handle the exceptions, not just trap them.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.