Fail Fast vs Fail Safe in Java

A system is called fail-fast if it stops immediately its execution when an error occurred. The system does not continue with the errors and these errors in the fail-fast systems are immediately exposed. But, fail-safe system does the opposite thing. The fail-safe system does not stop its execution despite an error or a fault is occurred in the system. The system continues with the operations hiding the errors instead of exposing the errors immediately.

Continue reading “Fail Fast vs Fail Safe in Java”