⏱️ Synchronization 101

Required for correctness and fairness. Challenging because:

Clock Skew Clock Drift
Relative difference in clock values of 2 processes
Non-zero clock skew = clocks not synchronized Relative difference in clock frequencies (rates) of 2 processes
Non-zero clock drift = cases skew to increase overtime
External Sync Internal Sync
This is what we cover in this class. External clock with highly precise atomic clock is accepted as source of truth. Not discussed in this class. Ex: Berkeley’s algorithm.
Internal sync does not imply external sync.

🔁 Cristian’s Algorithm