Timing Flashcards
1
Q
How can the Berkeley Algorithm be improved?
A
- Ignore significant outliers when calculating the average time difference.
- In case the co-ordinator node fails/corrupts, a secondary leader must be ready/pre-chosen to reduce downtime caused due to the co-ordinator’s unavailability.
- Broadcast the relative inverse time difference instead of sending the synchronized time to reduce latency caused by latency in the network.
2
Q
What are some Vector Clock properties?
A
- T=T’ iff T[i] = T’[i]
- T<= T’ iff T[i] <= T’[i]
- T < T’ iff T[i] <= T’ and T not equal to T’
- T || T’ iff Tnot<=T’ and T’not<=T