Agp
Agp
• In Distributed Data bases, there may be a situation where data managers have to decide
• However, in case of failures, processes must exchange their values with other processes and
relay the values received from others several times to isolate the effect of faulty processor.
• Source Processor [ Any arbitrarily chosen processor] broadcasts its values to others.
• 2. Validity: If source is nonfaulty, then the common agreed value must be the value
supplied by the source processor.
• "If source is faulty then all non- faulty processors can agree on any common value".
Group A Group B
P1-> {1, 1, 1 } -> 1 (majority of incoming value) P1-> {1, 0, 1 } -> 1 (majority of incoming value)
P2-> {1, 1, 1 } -> 1 P2-> {0, 1, 1 } -> 1
P3-> {1, 1, 1 } -> 1 P3-> {1, 1, 0 } -> 1
Here we agree upon the majority value, Both the group of processors will communicate with each other, only
if the agreed value is true in both case
Applications of Agreement Algorithms
1.Fault-Tolerant Clock Synchronization