Distributed Computing Notes
Distributed Computing Notes
Synchronization
Synchronization
●
Rules for enforcing correct interaction are
implemented in the form of synchronization
mechanisms
●
Issues
●
Clock Synchronization
●
Event Ordering
●
Mutual exclusion
●
Deadlock
●
Election algorithms
Clock Synchronization
●
Types
– External Synchronization
●
Synchronization with real time( external) clocks
●
Synchronized to UTC(Coordinated Universal Time)
– Internal Synchronization
●
Mutually between different nodes
●
For consistent view of the system
●
External Synchronization ensures internal synch.
●
Clock skew – Difference in clock values between
two nodes
Clock Synchronization contd...
●
Set of clocks are said to be synchronized if the
clock skew of any two is less than δ (Specified
constant)
●
Clocks should never run backwards
Synchronization algorithms
●
All clocks synchronized to this server node
●
Drawback – single point failure
●
Major classification