RECOVERY AND RECOVERY TECHNIQUES
Recovery
Recovery in distributed systems is crucial for maintaining data integrity and system availability after failures. This involves detecting failures, restoring the system to a consistent state, and resuming normal operations. Effective recovery strategies are essential to handle various types of failures, including hardware crashes, software bugs, and network issues.
Logging:
Checkpointing:
Replication:
TYPES OF RECOVERY
Forward recovery, also known as roll-forward recovery, involves moving the system forward to a new consistent state after a failure. This is typically achieved by applying the necessary operations to transition the system from its current, possibly inconsistent state to a consistent one.
Backward recovery, also known as roll-back recovery, involves returning the system to a previous consistent state before the failure occurred. This approach typically undoes changes made during the failure period to eliminate inconsistencies.