ClockSynchronizationinDistributedSystems[1]
ClockSynchronizationinDistributedSystems[1]
net/publication/359685826
CITATION READS
1 8,611
2 authors:
All content following this page was uploaded by Amey Thakur on 02 April 2022.
Presentation by:
4. Conclusion
5. References
DISTRIBUTED SYSTEMS & ITS TYPES
Distributed System (DS) is a collection of computers connected via a high-speed communication network.
- Need for proper allocation of available resources to preserve the state of resources and
- Clock synchronization is critical for resolving these problem and can be implemented by using the
➔ One system clock that keeps time, all others nodes follow this time.
➔ Problem: an event that occured after another event may not be assigned because of
- Physical clock - refers to the time based on UTC, which is used as a reference time clock.
- Logical clock - refers to the relative time and maintain logical consistency.
- If two events, a and b, occurred at the same process, they occurred in the order of which they
- If a sends a message to b, then a > b. i.e., you cannot receive something before it is sent. This
- If a happens before b and b happens before c, then a happens before c. i.e., if a > b and b > c, then
a > c.
CRISTIAN’S ALGORITHM
Algorithm:
- Let S be the time server and Ts be its time.
- Process P requests the time from S.
- After receiving the request from P, S prepares a response and appends time Ts from its own clock
and then sends it back to P.
BERKELEY’S ALGORITHM
NETWORK TIME PROTOCOL
- Process increments its counter when a send or a computation (comp) step is performed.
- So, a Vector Clock (VC) is a vector of integers, one entry for each princess in the entire distributed
system.
- It doesn't matter which process does the job, just need to pick one.
- In terms of algorithms, we can conclude that for clock synchronization, both centralized and
distributed algorithms must account for the propagation time of messages among each node.
- The sequencing of processes and the preservation of resource status requires clock synchronization.
- When it comes to the concept of time in distributed systems, the most essential element is to get
- Events can be positioned either in chronological order with Physical Clocks or in a logical order with
Lamport's Logical Clocks and Vector Clocks along the execution timeline.
REFERENCES
[1] Latha, C. A., and H. L. Shashidhara. "Clock synchronization in distributed systems." In 2010 5th International Conference on
Industrial and Information Systems, pp. 475-480. IEEE, 2010.
[2] Horauer, Martin. "Clock synchronization in distributed systems." PhD diss., 2004.
[3] Sampath, Amritha, and C. Tripti. "Synchronization in distributed systems." In Advances in Computing and Information Technology,
pp. 417-424. Springer, Berlin, Heidelberg, 2012.
[4] Biradar, Shripad, Santosh Durugkar, and Subhash Patil. "Handling Clock synchronization Anomalies in Distributed System."
[5] Simons, Barbara. "An overview of clock synchronization." Fault-Tolerant Distributed Computing (1990): 84-96.
[6] Welch, Jennifer Lundelius, and Nancy Lynch. "A new fault-tolerant algorithm for clock synchronization." Information and
computation 77, no. 1 (1988): 1-36.
[7] Arghavani, A., E. Ahmadi, and A. T. Haghighat. "Improved bully election algorithm in distributed systems." In ICIMU 2011:
Proceedings of the 5th international Conference on Information Technology & Multimedia, pp. 1-6. IEEE, 2011.
[8] Soundarabai, Paulsingh & Thriveni, J. & Manjunatha, H. & K R, Venugopal & Patnaik, Lalit. (2013). Message Efficient Ring Leader
Election in Distributed Systems.
[9] Baldoni, Roberto, and Michel Raynal. "Fundamentals of distributed computing: A practical tour of vector clock systems." IEEE
Distributed Systems Online 3, no. 2 (2002): 12.
THANK YOU