Mathina DC
Mathina DC
SCHOOL OF ENGINEERING
Department of Artificial Intelligence & Data
Science
Agreement in Synchronous
System with Failures
Present by,
R.Mathina
Introduction
Processes/Sites in distributed systems often
compete as well as cooperate to achieve a
common goal.
Mutual Trust/agreement is very much
required.
In Distributed Data bases, there may be a
situation where data managers have to
decide “Whether to commit or Abort the
Transaction”
When there is no failure, reaching an
agreement is easy.
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
System Model
Agreement Problems have been
studied under following System
Model:
‘n’ processors and at most ‘m’ of the
processors can be faulty
Processors can directly communicate
with other processors by message
passing.
Receiver knows the identity of the
sender
Communication medium is reliable.
Only Processors are prone to failures
Synchronous VS Asynchronous
Computation
Synchronous Computation
Processes run in lock step manner[ Process
receives a message sent to it earlier,
performs computation and sends a message
to other process.
Step of Synchronous computation is called
round
Asynchronous Computation
Computation does not proceed in lock step.
Process can send receive messages and
perform computation at any time.