Distributed Systems: Assignment 2(25 marks)
1. Consider a network consisting of 4 computers: A (coordinator), B, C, and D. At 14:
35 the coordinator decides to synchronize the clock of all computers in the network.
At that moment, the clock of every computer in the network shows the following.
Computer Clock
A 14:35
B 14:37
C 14:39
D 14:24
Apply the Berkeley clock synchronisation algorithm to this situation, show the
stages of computation, and write what will be the outcome of the synchronisation.
Assume that the time needed for computation and for network communication is
negligible. [7]
2. A distributed computation may involve related operations on a number of objects
which reside at different nodes of a distributed system. Briefly explain why the
concept of transaction is suitable for modelling such a computation. [6]
3. Which name server addresses do DNS name servers hold by default, and why? [4]
4. Using an emailing system as an example, define what end-to-end security is. [4]
5. Use a diagram to show the positioning of the middleware in a distributed system. [4]